Changeset 94035 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 1, 2022 11:40:15 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIKeyboardHandler.cpp
r94031 r94035 1774 1774 Q_UNUSED(iHotKey); 1775 1775 if (pHotKey && pHotKey[0] && !pHotKey[1]) 1776 # if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 1777 fWasProcessed = actionPool()->processHotKey(QKeySequence(QChar(pHotKey[0]).toUpper().unicode())); 1778 # else 1776 1779 fWasProcessed = actionPool()->processHotKey(QKeySequence(Qt::UNICODE_ACCEL + QChar(pHotKey[0]).toUpper().unicode())); 1780 # endif 1777 1781 1778 1782 #elif defined(VBOX_WS_WIN) … … 1808 1812 { 1809 1813 QChar qtSymbol = QString::fromLocal8Bit(&symbol, 1)[0]; 1814 # if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 1815 fWasProcessed = actionPool()->processHotKey(QKeySequence(qtSymbol.toUpper().unicode())); 1816 # else 1810 1817 fWasProcessed = actionPool()->processHotKey(QKeySequence((Qt::UNICODE_ACCEL + qtSymbol.toUpper().unicode()))); 1818 # endif 1811 1819 } 1812 1820 }
Note:
See TracChangeset
for help on using the changeset viewer.