diff options
author | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-04 14:06:34 +0200 |
---|---|---|
committer | Ahmad Samir <a.samirh78@gmail.com> | 2021-02-06 22:10:10 +0200 |
commit | bce76d2e73a462de673d18dbf6d94da0c592bf08 (patch) | |
tree | 455687733ca90a74ecf8c4c90100695332378bf4 /autotests/kstandardshortcuttest.cpp | |
parent | 2ac45198cf101f094cf8d94f3a546a57624e59f5 (diff) | |
download | kconfig-bce76d2e73a462de673d18dbf6d94da0c592bf08.tar.gz kconfig-bce76d2e73a462de673d18dbf6d94da0c592bf08.tar.bz2 |
Less implicit cast from ASCII
NO_CHANGELOG
Diffstat (limited to 'autotests/kstandardshortcuttest.cpp')
-rw-r--r-- | autotests/kstandardshortcuttest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kstandardshortcuttest.cpp b/autotests/kstandardshortcuttest.cpp index 69e234ab..1b7f88ff 100644 --- a/autotests/kstandardshortcuttest.cpp +++ b/autotests/kstandardshortcuttest.cpp @@ -49,8 +49,8 @@ void KStandardShortcutTest::testShortcut() void KStandardShortcutTest::testFindStdAccel() { - QCOMPARE(KStandardShortcut::find(QString("Ctrl+F")), KStandardShortcut::Find); - QCOMPARE(KStandardShortcut::find(QString("Ctrl+Shift+Alt+G")), KStandardShortcut::AccelNone); + QCOMPARE(KStandardShortcut::find(QKeySequence(Qt::CTRL | Qt::Key_F)), KStandardShortcut::Find); + QCOMPARE(KStandardShortcut::find(QKeySequence(Qt::CTRL | Qt::SHIFT | Qt::ALT | Qt::Key_G)), KStandardShortcut::AccelNone); } void KStandardShortcutTest::testFindByName() |