Changeset 51207 in vbox
- Timestamp:
- May 7, 2014 3:53:58 PM (10 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
-
extradata/UIExtraDataManager.cpp (modified) (1 diff)
-
extradata/UIExtraDataManager.h (modified) (1 diff)
-
globals/UIMessageCenter.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r51204 r51207 228 228 } 229 229 230 QStringList UIExtraDataManager::messagesWithInvertedOption() const 231 { 232 return extraDataStringList(GUI_InvertMessageOption); 233 } 234 230 235 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 231 236 bool UIExtraDataManager::shouldWeAllowApplicationUpdate() const -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r51199 r51207 106 106 /** Defines list of the supressed messages for the Message/Popup center frameworks as @a value. */ 107 107 void setSuppressedMessages(const QStringList &value); 108 109 /** Returns list of the messages for the Message/Popup center frameworks with inverted check-box state. */ 110 QStringList messagesWithInvertedOption() const; 108 111 109 112 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r51199 r51207 795 795 .arg(strSnapshotName), 796 796 tr("Create a snapshot of the current machine state"), 797 ! vboxGlobal().virtualBox().GetExtraDataStringList(GUI_InvertMessageOption).contains("confirmSnapshotRestoring"),797 !gEDataManager->messagesWithInvertedOption().contains("confirmSnapshotRestoring"), 798 798 AlertButton_Ok | AlertButtonOption_Default, 799 799 AlertButton_Cancel | AlertButtonOption_Escape,
Note:
See TracChangeset
for help on using the changeset viewer.

