Changeset 67631 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jun 27, 2017 10:11:01 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 116401
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.cpp
r67581 r67631 140 140 { 141 141 /* Configure button-box: */ 142 #ifdef VBOX_WS_MAC 142 #ifdef VBOX_WS_WIN 143 m_pButtonBox->setStandardButtons(QDialogButtonBox::Reset | QDialogButtonBox::Save | QDialogButtonBox::Close); 144 #else 143 145 m_pButtonBox->setStandardButtons(QDialogButtonBox::Reset | QDialogButtonBox::Apply | QDialogButtonBox::Close); 146 #endif 147 m_buttons[ButtonType_Reset] = m_pButtonBox->button(QDialogButtonBox::Reset); 148 #ifdef VBOX_WS_WIN 149 m_buttons[ButtonType_Apply] = m_pButtonBox->button(QDialogButtonBox::Save); 144 150 #else 145 m_pButtonBox->setStandardButtons(QDialogButtonBox::Reset | QDialogButtonBox::Save | QDialogButtonBox::Close);146 #endif147 m_buttons[ButtonType_Reset] = m_pButtonBox->button(QDialogButtonBox::Reset);148 #ifdef VBOX_WS_MAC149 151 m_buttons[ButtonType_Apply] = m_pButtonBox->button(QDialogButtonBox::Apply); 150 #else151 m_buttons[ButtonType_Apply] = m_pButtonBox->button(QDialogButtonBox::Save);152 152 #endif 153 153 m_buttons[ButtonType_Close] = m_pButtonBox->button(QDialogButtonBox::Close);
Note:
See TracChangeset
for help on using the changeset viewer.