Changeset 51664 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 19, 2014 11:28:05 AM (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
r51663 r51664 1011 1011 } 1012 1012 1013 QString UIExtraDataManager::machineCloseHookScript(const QString &strID) const 1014 { 1015 return extraDataString(GUI_CloseActionHook, strID); 1016 } 1017 1013 1018 void UIExtraDataManager::sltExtraDataChange(QString strMachineID, QString strKey, QString strValue) 1014 1019 { -
trunk/src/VBox/Frontends/VirtualBox/src/extradata/UIExtraDataManager.h
r51663 r51664 297 297 void setLastMachineCloseAction(MachineCloseAction machineCloseAction, const QString &strID); 298 298 299 /** Returns machine close hook script name as simple string. */ 300 QString machineCloseHookScript(const QString &strID) const; 301 299 302 private slots: 300 303 -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp
r51158 r51664 39 39 #include "UIConverter.h" 40 40 #include "UIModalWindowManager.h" 41 #include "UIExtraDataManager.h" 41 42 42 43 /* COM includes: */ … … 262 263 263 264 /* If there is a close hook script defined: */ 264 QString strScript = m.GetExtraData(GUI_CloseActionHook);265 const QString strScript = gEDataManager->machineCloseHookScript(vboxGlobal().managedVMUuid()); 265 266 if (!strScript.isEmpty()) 266 267 {
Note:
See TracChangeset
for help on using the changeset viewer.