Changeset 65679 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Feb 8, 2017 2:05:28 PM (8 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/settings/global
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp
r65678 r65679 219 219 220 220 /** Global settings: Input page cache structure. */ 221 class UISettingsCacheGlobalInput : public QObject 222 { 223 Q_OBJECT; 224 221 class UISettingsCacheGlobalInput 222 { 225 223 public: 226 224 227 /** Constructs cache passing @a pParent to the base-class. */ 228 UISettingsCacheGlobalInput(QObject *pParent) 229 : QObject(pParent) 230 , m_fAutoCapture(false) 225 /** Constructs cache. */ 226 UISettingsCacheGlobalInput() 227 : m_fAutoCapture(false) 231 228 {} 232 229 … … 806 803 , m_pSelectorFilterEditor(0), m_pSelectorModel(0), m_pSelectorTable(0) 807 804 , m_pMachineFilterEditor(0), m_pMachineModel(0), m_pMachineTable(0) 808 , m_pCache(new UISettingsCacheGlobalInput (this))805 , m_pCache(new UISettingsCacheGlobalInput) 809 806 { 810 807 /* Apply UI decorations: */ … … 867 864 } 868 865 866 UIGlobalSettingsInput::~UIGlobalSettingsInput() 867 { 868 /* Cleanup cache: */ 869 delete m_pCache; 870 m_pCache = 0; 871 } 872 869 873 void UIGlobalSettingsInput::loadToCacheFrom(QVariant &data) 870 874 { -
trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h
r65678 r65679 47 47 /* Constructor: */ 48 48 UIGlobalSettingsInput(); 49 /* Destructor: */ 50 ~UIGlobalSettingsInput(); 49 51 50 52 protected:
Note:
See TracChangeset
for help on using the changeset viewer.