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:
2026-11-03 19:58:59 +01:00
co-authored by Claude Opus 5.5
parent 5e4d4051f3
commit 23e957660f
53 changed files with 232 additions and 226 deletions
+4 -4
View File
@@ -1,8 +1,8 @@
import QtQuick
// The dismiss key left floating while the keyboard is shrunk; see-through so
// it hides less. Tap to bring the keyboard back; dragging is up to the owner
// (the window manager's move).
// Button shown in place of the keyboard while it is collapsed. Semi-transparent
// so it covers less. Tap emits tapped() (expand); drag emits dragStarted() and
// the parent starts the window manager's move.
Item {
id: button
@@ -28,7 +28,7 @@ Item {
TapHandler {
id: tap
// The move ends with a release that would otherwise count as a tap.
// Set during a drag, so the release that ends the drag isn't treated as a tap.
property bool moved: false
onPressedChanged: if (pressed) moved = false
onTapped: if (!moved) button.tapped()