Fix comment in test

The intent is that the key is *not* locked
wilder/Plasma/6.2
Nicolas Fella 2 years ago
parent 463d77ec18
commit e14e4a1f8e
  1. 2
      autotests/integration/sticky_keys_test.cpp

@ -191,7 +191,7 @@ void StickyKeysTest::testLock()
Test::keyboardKeyPressed(KEY_LEFTCTRL, ++timestamp);
QVERIFY(modifierSpy.wait());
QCOMPARE(modifierSpy.first()[0], 4); // verify that Ctrl is depressed
QCOMPARE(modifierSpy.first()[2], 0); // verify that Ctrl is locked
QCOMPARE(modifierSpy.first()[2], 0); // verify that Ctrl is not locked
Test::keyboardKeyReleased(KEY_LEFTCTRL, ++timestamp);
}

Loading…
Cancel
Save