[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [abakus] src/mobile/harmattan/qml: ensure, that the generic keypad is shown at start
From:       Mathias Kraus <k.hias () gmx ! de>
Date:       2013-12-06 22:38:06
Message-ID: E1Vp42A-0007OT-2s () scm ! kde ! org
[Download RAW message or body]

Git commit 4c3949832e827f55b5de0ac1f4eb032620fb72b6 by Mathias Kraus.
Committed on 06/12/2013 at 22:22.
Pushed by mkraus into branch 'master'.

ensure, that the generic keypad is shown at start

M  +12   -2    src/mobile/harmattan/qml/KeyPad.qml

http://commits.kde.org/abakus/4c3949832e827f55b5de0ac1f4eb032620fb72b6

diff --git a/src/mobile/harmattan/qml/KeyPad.qml b/src/mobile/harmattan/qml/KeyPad.qml
index 7d2f828..14768f3 100644
--- a/src/mobile/harmattan/qml/KeyPad.qml
+++ b/src/mobile/harmattan/qml/KeyPad.qml
@@ -16,8 +16,18 @@ Rectangle {
         trigPad.pressed.connect(pressed)
         trigPad.evaluate.connect(evaluate)
 
-        flickable.contentX = root.width
-        internal.animationDuration = 250
+        delayedLoadingTimer.running = true
+    }
+
+    Timer {
+        id: delayedLoadingTimer
+        interval: 200
+        running: false
+        repeat: false
+        onTriggered: {
+            flickable.contentX = root.width
+            internal.animationDuration = 250
+        }
     }
 
     QtObject {

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic