mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T404, fixed the UTF issues for hotkeys
* QStringLiteral expects UTF16 for MSVC compilers * we use descriptive names now * UTF flag for MSVC compilers * added the SLACK discussion as comment under https://dev.swift-project.org/T404
This commit is contained in:
@@ -57,8 +57,8 @@ namespace BlackMisc
|
||||
|
||||
switch (m_keyCode)
|
||||
{
|
||||
case Key_Multiply: return QStringLiteral("×");
|
||||
case Key_Divide: return QStringLiteral("÷");
|
||||
case Key_Multiply: return QStringLiteral("NumMultiply"); // return QStringLiteral(u"×");
|
||||
case Key_Divide: return QStringLiteral("NumDivide"); // return QStringLiteral(u"÷");
|
||||
case Key_Numpad0: return QStringLiteral("Num0");
|
||||
case Key_Numpad1: return QStringLiteral("Num1");
|
||||
case Key_Numpad2: return QStringLiteral("Num2");
|
||||
|
||||
Reference in New Issue
Block a user