Changeset 88873 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- May 5, 2021 9:13:45 AM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/extensions/QIManagerDialog.h
r86986 r88873 154 154 virtual void closeEvent(QCloseEvent *pEvent) /* override */; 155 155 /** @} */ 156 /** Returns the value of m_fCloseEmitted. */ 157 bool closeEmitted() const { return m_fCloseEmitted; } 156 158 157 159 private slots: -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerDialog.cpp
r87001 r88873 144 144 void UIFileManagerDialog::sltSetCloseButtonShortCut(QKeySequence shortcut) 145 145 { 146 if ( button(ButtonType_Close))146 if (!closeEmitted() && button(ButtonType_Close)) 147 147 button(ButtonType_Close)->setShortcut(shortcut); 148 148 } -
trunk/src/VBox/Frontends/VirtualBox/src/logviewer/UIVMLogViewerDialog.cpp
r87001 r88873 159 159 void UIVMLogViewerDialog::sltSetCloseButtonShortCut(QKeySequence shortcut) 160 160 { 161 if ( button(ButtonType_Close))161 if (!closeEmitted() && button(ButtonType_Close)) 162 162 button(ButtonType_Close)->setShortcut(shortcut); 163 163 }
Note:
See TracChangeset
for help on using the changeset viewer.