- Timestamp:
- May 13, 2024 12:34:31 PM (12 months ago)
- svn:sync-xref-src-repo-rev:
- 163133
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UIActionPool.cpp
r104447 r104592 3647 3647 3648 3648 /* Invalidate all known menus: */ 3649 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) 3650 QList<int> const updateHandlerKeys = m_menuUpdateHandlers.keys(); 3649 const QList<int> const updateHandlerKeys = m_menuUpdateHandlers.keys(); 3651 3650 m_invalidations.unite(QSet<int>(updateHandlerKeys.begin(), updateHandlerKeys.end())); 3652 #else3653 m_invalidations.unite(m_menuUpdateHandlers.keys().toSet());3654 #endif3655 3651 3656 3652 /* Apply language settings: */ -
trunk/src/VBox/Frontends/VirtualBox/src/manager/chooser/UIChooserAbstractModel.cpp
r103771 r104592 222 222 { 223 223 /* Get new group list/set: */ 224 const QStringList &newGroupList = m_newLists.value(strId); 225 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) 224 const QStringList newGroupList = m_newLists.value(strId); 226 225 const UIStringSet newGroupSet(newGroupList.begin(), newGroupList.end()); 227 #else228 const UIStringSet &newGroupSet = UIStringSet::fromList(newGroupList);229 #endif230 226 /* Get old group list/set: */ 231 const QStringList &oldGroupList = m_oldLists.value(strId); 232 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) 227 const QStringList oldGroupList = m_oldLists.value(strId); 233 228 const UIStringSet oldGroupSet(oldGroupList.begin(), oldGroupList.end()); 234 #else235 const UIStringSet &oldGroupSet = UIStringSet::fromList(oldGroupList);236 #endif237 229 /* Make sure group set changed: */ 238 230 if (newGroupSet == oldGroupSet) … … 999 991 if (!unregisteredIDs.isEmpty()) 1000 992 { 1001 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) 1002 QList<QUuid> listUnregisteredIDs(unregisteredIDs.begin(), unregisteredIDs.end()); 1003 #else 1004 QList<QUuid> listUnregisteredIDs = unregisteredIDs.toList(); 1005 #endif 993 const QList<QUuid> listUnregisteredIDs(unregisteredIDs.begin(), unregisteredIDs.end()); 1006 994 sltCloudMachinesUnregistered(guiCloudProfileKey.m_strProviderShortName, 1007 995 guiCloudProfileKey.m_strProfileName, -
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r104393 r104592 1627 1627 if (!allHostComboKeys.isEmpty()) 1628 1628 { 1629 const QList<int> &pressedKeyList = m_pressedHostComboKeys.keys(); 1630 #if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0) 1629 const QList<int> pressedKeyList = m_pressedHostComboKeys.keys(); 1631 1630 fIsFullHostComboPresent = QSet<int>(allHostComboKeys.begin(), allHostComboKeys.end()) 1632 1631 == QSet<int>(pressedKeyList.begin(), pressedKeyList.end()); 1633 #else1634 fIsFullHostComboPresent = allHostComboKeys.toSet() == pressedKeyList.toSet();1635 #endif1636 1632 } 1637 1633
Note:
See TracChangeset
for help on using the changeset viewer.