VirtualBox

Changeset 102548 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Dec 8, 2023 3:48:39 PM (14 months ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10570. Reverting 160689. Should not have committed that. Hands were faster than brain.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerGuestTable.cpp

    r102543 r102548  
    12081208    else if (enmMachineState != KMachineState_Paused)
    12091209        cleanAll();
    1210     else if (enmMachineState != KMachineState_Saving)
    1211         cleanAll();
    12121210    setStateAndEnableWidgets();
    12131211}
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp

    r102543 r102548  
    39533953    , m_pStatusBarWidget(0)
    39543954    , m_iGeometrySaveTimerId(-1)
    3955     , m_fApplicationAboutToQuit(false)
    39563955{
    39573956    setWindowTitle(QString("%1 - %2").arg(m_strMachineName).arg(tr("Soft Keyboard")));
     
    39703969    retranslateUi();
    39713970    uiCommon().setHelpKeyword(this, "soft-keyb");
    3972     connect(qApp, &QGuiApplication::aboutToQuit, this, &UISoftKeyboard::sltApplicationAboutToQuit);
    39733971}
    39743972
     
    39863984    QStringList strNameList = m_pKeyboardWidget->unsavedLayoutsNameList();
    39873985    /* Show a warning dialog when there are not saved layouts: */
    3988     if (m_pKeyboardWidget && !strNameList.empty() && !m_fApplicationAboutToQuit)
     3986    if (m_pKeyboardWidget && !strNameList.empty())
    39893987    {
    39903988        QString strJoinedString = strNameList.join("<br/>");
     
    40013999    m_pMachine->releaseKeys();
    40024000    emit sigClose();
     4001    event->ignore();
    40034002}
    40044003
     
    43874386{
    43884387    m_pMachine->releaseKeys();
    4389 }
    4390 
    4391 void UISoftKeyboard::sltApplicationAboutToQuit()
    4392 {
    4393     m_fApplicationAboutToQuit = true;
    43944388}
    43954389
  • trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.h

    r102543 r102548  
    113113    void sltSaveSettings();
    114114    void sltReleaseKeys();
    115     void sltApplicationAboutToQuit();
    116115
    117116private:
     
    141140    UISoftKeyboardStatusBarWidget *m_pStatusBarWidget;
    142141    int m_iGeometrySaveTimerId;
    143     bool m_fApplicationAboutToQuit;
    144142};
    145143
Note: See TracChangeset for help on using the changeset viewer.

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