Changeset 57716 in vbox
- Timestamp:
- Sep 11, 2015 1:52:21 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxAboutDlg.cpp
r57640 r57716 110 110 m_pixmap = icon.pixmap(m_size); 111 111 112 /* Prepare smain-layout: */112 /* Prepare main-layout: */ 113 113 prepareMainLayout(); 114 114 … … 123 123 AssertPtrReturnVoid(m_pMainLayout); 124 124 { 125 /* Prepare slabel: */125 /* Prepare label: */ 126 126 prepareLabel(); 127 127 128 /* Prepare sclose-button: */128 /* Prepare close-button: */ 129 129 prepareCloseButton(); 130 130 } … … 162 162 AssertPtrReturnVoid(pButtonBox); 163 163 { 164 /* Prepare button-box withclose-button: */164 /* Create close-button: */ 165 165 QPushButton *pCloseButton = pButtonBox->addButton(QDialogButtonBox::Close); 166 166 AssertPtrReturnVoid(pCloseButton); 167 {168 169 /* Add button-box to the main-layout: */ 170 m_pMainLayout->addWidget(pButtonBox);171 }167 /* Prepare close-button: */ 168 connect(pButtonBox, SIGNAL(rejected()), this, SLOT(reject())); 169 170 /* Add button-box to the main-layout: */ 171 m_pMainLayout->addWidget(pButtonBox); 172 172 } 173 173 }
Note:
See TracChangeset
for help on using the changeset viewer.