Changeset 51195 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 6, 2014 2:19:30 PM (11 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
r51189 r51195 153 153 } 154 154 155 QString UIExtraDataManager::preventBETAwarningForVersion() const 156 { 157 return extraDataString(GUI_PreventBetaWarning); 158 } 159 155 160 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER 156 161 bool UIExtraDataManager::shouldWeAllowApplicationUpdate() const -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r51187 r51195 72 72 /** Static Extra-data Manager destructor. */ 73 73 static void destroy(); 74 75 /** Returns version for which user wants to prevent BETA warning. */ 76 QString preventBETAwarningForVersion() const; 74 77 75 78 #ifdef VBOX_GUI_WITH_NETWORK_MANAGER -
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r51010 r51195 29 29 #include "VBoxUtils.h" 30 30 #include "UIModalWindowManager.h" 31 #include "UIExtraDataManager.h" 31 32 #ifdef Q_WS_MAC 32 33 # include "UICocoaApplication.h" … … 531 532 { 532 533 /* Allow to prevent this message: */ 533 QString str = vboxGlobal().virtualBox().GetExtraData(GUI_PreventBetaWarning); 534 if (str != vboxVersion) 534 if (gEDataManager->preventBETAwarningForVersion() != vboxVersion) 535 535 msgCenter().showBETAWarning(); 536 536 }
Note:
See TracChangeset
for help on using the changeset viewer.