summaryrefslogtreecommitdiff
path: root/popups
diff options
context:
space:
mode:
authorlittleblack111 <littleblack11111@gmail.com>2026-07-26 20:11:59 +0800
committerlittleblack111 <littleblack11111@gmail.com>2026-07-26 20:11:59 +0800
commitdf74bc4c98036f6b0bddf1c9baf772274e33606a (patch)
treea30a39be761212203cd2b9c2cc625f55767cd2ca /popups
parentc119b2cf8eb2fe2cb2b204e870deb7c6dfb189ee (diff)
perf(SmartCalc): cahce query in event of multiple component calling
query at once with the same query cleanup: no longer needed qml and unused import
Diffstat (limited to 'popups')
-rw-r--r--popups/launcher/components/Date.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/popups/launcher/components/Date.qml b/popups/launcher/components/Date.qml
index 43cb99e..a23c0b0 100644
--- a/popups/launcher/components/Date.qml
+++ b/popups/launcher/components/Date.qml
@@ -9,6 +9,7 @@ import qs.config
import core
IComponent {
+ property int cursorPosition: SelectionState.cursorPosition
property string answer: active && valid ? SmartCalc.result : ""
name: "Date"