VirtualBox

Changeset 40002 in vbox for trunk


Ignore:
Timestamp:
Feb 6, 2012 9:35:16 AM (13 years ago)
Author:
vboxsync
Message:

FE/Qt: 6028: Make it possible to invert (uncheck, by default) "Create a snapshot of the current machine state" checkbox.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/globals
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp

    r39950 r40002  
    10271027                                .arg(strSnapshotName),
    10281028                             tr("Create a snapshot of the current machine state"),
    1029                              true /* choose option by default */,
     1029                             !vboxGlobal().virtualBox().GetExtraDataStringList(VBoxDefs::GUI_InvertMessageOption).contains("askAboutSnapshotRestoring"),
    10301030                             QString::null /* details */,
    10311031                             QIMessageBox::Ok, QIMessageBox::Cancel, 0 /* 3rd button */,
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxDefs.cpp

    r39349 r40002  
    5151const char* VBoxDefs::GUI_CloseActionHook = "GUI/CloseActionHook";
    5252const char* VBoxDefs::GUI_SuppressMessages = "GUI/SuppressMessages";
     53const char* VBoxDefs::GUI_InvertMessageOption = "GUI/InvertMessageOption";
    5354const char* VBoxDefs::GUI_PermanentSharedFoldersAtRuntime = "GUI/PermanentSharedFoldersAtRuntime";
    5455const char* VBoxDefs::GUI_LanguageId = "GUI/LanguageID";
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/VBoxDefs.h

    r39349 r40002  
    131131    static const char* GUI_CloseActionHook;
    132132    static const char* GUI_SuppressMessages;
     133    static const char* GUI_InvertMessageOption;
    133134    static const char* GUI_PermanentSharedFoldersAtRuntime;
    134135    static const char* GUI_LanguageId;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette