Changeset 81356 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 18, 2019 2:07:02 PM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 134069
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.cpp
r81284 r81356 56 56 57 57 QIManagerDialog::QIManagerDialog(QWidget *pCenterWidget) 58 : pCenterWidget(pCenterWidget)58 : m_pCenterWidget(pCenterWidget) 59 59 , m_fCloseEmitted(false) 60 60 , m_pWidget(0) … … 74 74 /* Invent initial size: */ 75 75 QSize proposedSize; 76 const int iHostScreen = gpDesktop->screenNumber( pCenterWidget);76 const int iHostScreen = gpDesktop->screenNumber(m_pCenterWidget); 77 77 if (iHostScreen >= 0 && iHostScreen < gpDesktop->screenCount()) 78 78 { … … 104 104 105 105 /* Center according requested widget: */ 106 UICommon::centerWidget(this, pCenterWidget, false);106 UICommon::centerWidget(this, m_pCenterWidget, false); 107 107 108 108 /* Load the dialog's settings from extradata */ -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.h
r81284 r81356 165 165 /** Returns button of passed @a enmType. */ 166 166 QPushButton *button(ButtonType enmType) { return m_buttons.value(enmType); } 167 /** Returns center widget. */168 QWidget * centerWidget() const { returnpCenterWidget; }167 /** Returns the widget reference to center manager dialog according. */ 168 QWidget *centerWidget() const { return m_pCenterWidget; } 169 169 /** @} */ 170 170 … … 179 179 /** @name General stuff. 180 180 * @{ */ 181 /** Holds the widget reference to center Host Network Manageraccording. */182 QWidget * pCenterWidget;181 /** Holds the widget reference to center manager dialog according. */ 182 QWidget *m_pCenterWidget; 183 183 184 184 /** Holds whether the manager had emitted command to be closed. */
Note:
See TracChangeset
for help on using the changeset viewer.