Changeset 66661 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 24, 2017 5:44:34 PM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 115034
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.cpp
r66593 r66661 95 95 const char* UIExtraDataDefs::GUI_PreventSnapshotOperations = "GUI/PreventSnapshotOperations"; 96 96 const char* UIExtraDataDefs::GUI_FirstRun = "GUI/FirstRun"; 97 const char* UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons"; 97 98 #ifndef VBOX_WS_MAC 98 const char* UIExtraDataDefs::GUI_MachineWindowIcons = "GUI/MachineWindowIcons";99 99 const char* UIExtraDataDefs::GUI_MachineWindowNamePostfix = "GUI/MachineWindowNamePostfix"; 100 100 #endif /* !VBOX_WS_MAC */ -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataDefs.h
r66593 r66661 165 165 /** Holds whether this machine is first time started. */ 166 166 extern const char* GUI_FirstRun; 167 #ifndef VBOX_WS_MAC168 167 /** Except Mac OS X: Holds redefined machine-window icon names. */ 169 168 extern const char* GUI_MachineWindowIcons; 169 #ifndef VBOX_WS_MAC 170 170 /** Except Mac OS X: Holds redefined machine-window name postfix. */ 171 171 extern const char* GUI_MachineWindowNamePostfix; -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.cpp
r66657 r66661 2827 2827 } 2828 2828 2829 QStringList UIExtraDataManager::machineWindowIconNames(const QString &strID) 2830 { 2831 return extraDataStringList(GUI_MachineWindowIcons, strID); 2832 } 2833 2829 2834 #ifndef VBOX_WS_MAC 2830 QStringList UIExtraDataManager::machineWindowIconNames(const QString &strID)2831 {2832 return extraDataStringList(GUI_MachineWindowIcons, strID);2833 }2834 2835 2835 QString UIExtraDataManager::machineWindowNamePostfix(const QString &strID) 2836 2836 { -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r66593 r66661 350 350 void setMachineFirstTimeStarted(bool fFirstTimeStarted, const QString &strID); 351 351 352 #ifndef VBOX_WS_MAC353 352 /** Except Mac OS X: Returns redefined machine-window icon names. */ 354 353 QStringList machineWindowIconNames(const QString &strID); 354 #ifndef VBOX_WS_MAC 355 355 /** Except Mac OS X: Returns redefined machine-window name postfix. */ 356 356 QString machineWindowNamePostfix(const QString &strID); -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
r66660 r66661 1290 1290 { 1291 1291 QIcon icon; 1292 #ifndef VBOX_WS_MAC1293 1292 /* Load user machine-window icon: */ 1294 1293 foreach (const QString &strIconName, gEDataManager->machineWindowIconNames(strMachineID)) 1295 1294 if (!strIconName.isEmpty() && QFile::exists(strIconName)) 1296 1295 icon.addFile(strIconName); 1297 #endif1298 1296 /* Use the OS type icon if user one was not set: */ 1299 1297 if (icon.isNull())
Note:
See TracChangeset
for help on using the changeset viewer.