Changeset 88441 in vbox for trunk/src/VBox
- Timestamp:
- Apr 9, 2021 4:35:08 PM (4 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICommon.cpp
r87756 r88441 3779 3779 } 3780 3780 /* Now sort the vector: */ 3781 qSort(screenSize.begin(), screenSize.end(), qGreater<int>());3781 std::sort(screenSize.begin(), screenSize.end(), std::greater<int>()); 3782 3782 /* For the case that there are more guest screens configured then host 3783 3783 * screens available, replace all zeros with the greatest value in the -
trunk/src/VBox/Frontends/VirtualBox/src/settings/editors/UIShortcutConfigurationEditor.cpp
r86124 r88441 635 635 { 636 636 /* Sort whole the list: */ 637 qStableSort(m_shortcuts.begin(), m_shortcuts.end(), UIShortcutItemSortingFunctor(iColumn, order));637 std::stable_sort(m_shortcuts.begin(), m_shortcuts.end(), UIShortcutItemSortingFunctor(iColumn, order)); 638 638 /* Make sure host-combo item is always the first one: */ 639 639 UIShortcutConfigurationItem fakeHostComboItem(UIHostCombo::hostComboCacheKey(), QString(), QString(), QString(), QString());
Note:
See TracChangeset
for help on using the changeset viewer.