Changeset 102548 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 8, 2023 3:48:39 PM (14 months ago)
- 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 1208 1208 else if (enmMachineState != KMachineState_Paused) 1209 1209 cleanAll(); 1210 else if (enmMachineState != KMachineState_Saving)1211 cleanAll();1212 1210 setStateAndEnableWidgets(); 1213 1211 } -
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.cpp
r102543 r102548 3953 3953 , m_pStatusBarWidget(0) 3954 3954 , m_iGeometrySaveTimerId(-1) 3955 , m_fApplicationAboutToQuit(false)3956 3955 { 3957 3956 setWindowTitle(QString("%1 - %2").arg(m_strMachineName).arg(tr("Soft Keyboard"))); … … 3970 3969 retranslateUi(); 3971 3970 uiCommon().setHelpKeyword(this, "soft-keyb"); 3972 connect(qApp, &QGuiApplication::aboutToQuit, this, &UISoftKeyboard::sltApplicationAboutToQuit);3973 3971 } 3974 3972 … … 3986 3984 QStringList strNameList = m_pKeyboardWidget->unsavedLayoutsNameList(); 3987 3985 /* Show a warning dialog when there are not saved layouts: */ 3988 if (m_pKeyboardWidget && !strNameList.empty() && !m_fApplicationAboutToQuit)3986 if (m_pKeyboardWidget && !strNameList.empty()) 3989 3987 { 3990 3988 QString strJoinedString = strNameList.join("<br/>"); … … 4001 3999 m_pMachine->releaseKeys(); 4002 4000 emit sigClose(); 4001 event->ignore(); 4003 4002 } 4004 4003 … … 4387 4386 { 4388 4387 m_pMachine->releaseKeys(); 4389 }4390 4391 void UISoftKeyboard::sltApplicationAboutToQuit()4392 {4393 m_fApplicationAboutToQuit = true;4394 4388 } 4395 4389 -
trunk/src/VBox/Frontends/VirtualBox/src/softkeyboard/UISoftKeyboard.h
r102543 r102548 113 113 void sltSaveSettings(); 114 114 void sltReleaseKeys(); 115 void sltApplicationAboutToQuit();116 115 117 116 private: … … 141 140 UISoftKeyboardStatusBarWidget *m_pStatusBarWidget; 142 141 int m_iGeometrySaveTimerId; 143 bool m_fApplicationAboutToQuit;144 142 }; 145 143
Note:
See TracChangeset
for help on using the changeset viewer.