remove unnecessary qualified access

This commit is contained in:
end-4
2025-08-09 22:09:07 +07:00
parent 9e1b55a749
commit 90fafa219a
+4 -4
View File
@@ -84,7 +84,7 @@ Singleton {
interval: 200 interval: 200
running: root.isPomodoroRunning running: root.isPomodoroRunning
repeat: true repeat: true
onTriggered: Pomodoro.refreshPomodoro() onTriggered: refreshPomodoro()
} }
function togglePomodoro() { function togglePomodoro() {
@@ -112,14 +112,14 @@ Singleton {
interval: 10 interval: 10
running: root.isStopwatchRunning running: root.isStopwatchRunning
repeat: true repeat: true
onTriggered: root.refreshStopwatch() onTriggered: refreshStopwatch()
} }
function toggleStopwatch() { function toggleStopwatch() {
if (root.isStopwatchRunning) if (root.isStopwatchRunning)
root.stopwatchPause() stopwatchPause()
else else
root.stopwatchResume() stopwatchResume()
} }
function stopwatchPause() { function stopwatchPause() {