Reword code comments in plain technical language
Comments only, no code changes. Replaces vague or personified phrasing with explicit statements of what the code does and why, uses bullet lists for multi-case behavior, and fixes the settings path in WindowSettings.h (~/.config/sloposk/sloposk.conf). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -131,11 +131,11 @@ private Q_SLOTS:
|
||||
QTest::touchEvent(&window, touchscreen).press(0, e);
|
||||
QTest::qWait(LongPressWaitMs);
|
||||
QTest::touchEvent(&window, touchscreen).stationary(0).press(1, u);
|
||||
QTest::qWait(LongPressWaitMs); // u's popup replaces e's, which types its choice
|
||||
QTest::qWait(LongPressWaitMs); // u's popup opens; e's popup closes and types its selection
|
||||
QCOMPARE(engine.output, u"é");
|
||||
QVERIFY(surface->alternates()->isOpen());
|
||||
QTest::touchEvent(&window, touchscreen).release(0, e).stationary(1);
|
||||
QCOMPARE(engine.output, u"é"); // the first finger's lift does nothing more
|
||||
QCOMPARE(engine.output, u"é"); // lifting the first finger types nothing more
|
||||
QVERIFY(surface->alternates()->isOpen());
|
||||
QTest::touchEvent(&window, touchscreen).release(1, u);
|
||||
QCOMPARE(engine.output.size(), 2);
|
||||
|
||||
Reference in New Issue
Block a user