- Timestamp:
- Mar 27, 2013 11:27:47 AM (12 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/extensions
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.cpp
r45192 r45205 101 101 } 102 102 103 void QIDialog::showEvent(QShowEvent * /* pEvent */)103 void QIDialog::showEvent(QShowEvent *pEvent) 104 104 { 105 /* Polishing: */105 /* Make sure we should polish dialog: */ 106 106 if (m_fPolished) 107 107 return; 108 109 /* Call to polish-event: */ 110 polishEvent(pEvent); 111 112 /* Mark dialog as polished: */ 108 113 m_fPolished = true; 114 } 109 115 116 void QIDialog::polishEvent(QShowEvent*) 117 { 110 118 /* Make sure layout is polished: */ 111 119 adjustSize(); -
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIDialog.h
r45162 r45205 51 51 void showEvent(QShowEvent *pEvent); 52 52 53 /* Handler: Polish-event stuff: */ 54 virtual void polishEvent(QShowEvent *pEvent); 55 53 56 private: 54 57
Note:
See TracChangeset
for help on using the changeset viewer.