VirtualBox

Changeset 100153 in vbox


Ignore:
Timestamp:
Jun 12, 2023 11:48:26 AM (22 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
157848
Message:

FE/Qt: bugref:10450: Seems like at least Windows host wants the same fix for closeEvent handling as macOS do; It's probably new rule for Qt6, quit() static slot is now vetoable and if one of application windows rejects closeEvent - quit() fails.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineWindow.cpp

    r100064 r100153  
    373373    if (!uimachine()->isRunning() && !uimachine()->isPaused() && !uimachine()->isStuck())
    374374    {
    375 #if defined(VBOX_IS_QT6_OR_LATER) && defined(VBOX_WS_MAC) /** @todo qt6 ... */
     375#ifdef VBOX_IS_QT6_OR_LATER /** @todo qt6 ... */
    376376        /* If we want to close the application, we need to accept the close event.
    377377           If we don't the QEvent::Quit processing in QApplication::event fails and
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette