Changeset 63929 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Sep 21, 2016 4:12:12 PM (8 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.cpp
r63928 r63929 29 29 30 30 /* GUI includes */ 31 # include "QIWithRetranslateUI.h" 31 32 # include "UIBar.h" 32 33 # include "UIIconPool.h" … … 219 220 220 221 UIVMDesktop::UIVMDesktop(QAction *pRefreshAction, QWidget *pParent) 221 : Q IWithRetranslateUI<QWidget>(pParent)222 : QWidget(pParent) 222 223 { 223 224 /* Prepare main layout: */ … … 236 237 m_pStackedLayout->addWidget(m_pDesktopPrivate); 237 238 m_pStackedLayout->addWidget(m_pSnapshotsPane); 238 239 /* Translate finally: */240 retranslateUi();241 239 } 242 240 … … 266 264 } 267 265 268 void UIVMDesktop::retranslateUi()269 {270 }271 272 266 #include "UIVMDesktop.moc" 273 267 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UIVMDesktop.h
r63928 r63929 24 24 #include <QWidget> 25 25 26 /* GUI includes: */27 #include "QIWithRetranslateUI.h"28 29 26 /* Forward declarations: */ 30 27 class CMachine; … … 40 37 * currently chosen inaccessible VM and allowing to operate over it, 41 38 * 3. Snapshot pane allowing to operate over the snapshots. */ 42 class UIVMDesktop: public Q IWithRetranslateUI<QWidget>39 class UIVMDesktop: public QWidget 43 40 { 44 41 Q_OBJECT; … … 61 58 private: 62 59 63 /* Helper: Translate stuff: */64 void retranslateUi();65 66 60 /* Variables: */ 67 61 QStackedLayout *m_pStackedLayout;
Note:
See TracChangeset
for help on using the changeset viewer.