- Timestamp:
- May 25, 2016 2:56:15 PM (9 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r61193 r61195 2227 2227 } 2228 2228 2229 QStringList UIExtraDataManager::suppressedMessages( )2230 { 2231 return extraDataStringList(GUI_SuppressMessages );2229 QStringList UIExtraDataManager::suppressedMessages(const QString &strID /* = GlobalID */) 2230 { 2231 return extraDataStringList(GUI_SuppressMessages, strID); 2232 2232 } 2233 2233 -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r60599 r61195 144 144 * @{ */ 145 145 /** Returns the list of supressed messages for the Message/Popup center frameworks. */ 146 QStringList suppressedMessages( );146 QStringList suppressedMessages(const QString &strID = GlobalID); 147 147 /** Defines the @a list of supressed messages for the Message/Popup center frameworks. */ 148 148 void setSuppressedMessages(const QStringList &list); -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIMessageCenter.cpp
r61188 r61195 2864 2864 2865 2865 /* Check if message-box was auto-confirmed before: */ 2866 CVirtualBox vbox;2867 2866 QStringList confirmedMessageList; 2868 2867 if (!strAutoConfirmId.isEmpty()) 2869 2868 { 2870 vbox = vboxGlobal().virtualBox();2871 confirmedMessageList = gEDataManager->suppressedMessages( );2869 const QString strID = vboxGlobal().isVMConsoleProcess() ? vboxGlobal().managedVMUuid() : UIExtraDataManager::GlobalID; 2870 confirmedMessageList = gEDataManager->suppressedMessages(strID); 2872 2871 if ( confirmedMessageList.contains(strAutoConfirmId) 2873 2872 || confirmedMessageList.contains("allMessageBoxes")
Note:
See TracChangeset
for help on using the changeset viewer.