on xenial help sign in
fix the timer usage
commit8d65f430d8498842e8637d90da5845f82e74c4d6 authorMichael Zanetti <michael.zanetti@canonical.com> dateThu 19 Feb 2015, 12:01 (12 years ago) parentf9e9c6e
1 file changed+3−2
qml/Launcher/Launcher.qml+3−2
qml/Launcher/Launcher.qml+3−2
@@ -250,7 +250,9 @@ Item {
250250 propagateComposedEvents: true
251251 onContainsMouseChanged: {
252252 if (containsMouse) {
253− root.switchToNextState("visibleTemporary")
253+ root.switchToNextState("visibleTemporary");
254+ } else {
255+ dismissTimer.restart();
254256 }
255257 }
256258 onPressed: mouse.accepted = false;
@@ -324,7 +326,6 @@ Item {
324326 State {
325327 name: "visibleTemporary"
326328 extend: "visible"
327− when: hoverArea.containsMouse
328329 PropertyChanges {
329330 target: root
330331 autohideEnabled: true