summaryrefslogtreecommitdiff
path: root/sowatchui/qml/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'sowatchui/qml/main.qml')
-rw-r--r--sowatchui/qml/main.qml4
1 files changed, 1 insertions, 3 deletions
diff --git a/sowatchui/qml/main.qml b/sowatchui/qml/main.qml
index 8697b6d..eb4c081 100644
--- a/sowatchui/qml/main.qml
+++ b/sowatchui/qml/main.qml
@@ -1,8 +1,6 @@
import QtQuick 1.1
import com.nokia.meego 1.0
-import "sowatch.js" as Sowatch
-
PageStackWindow {
id: appWindow
@@ -18,7 +16,7 @@ PageStackWindow {
ToolIcon {
platformIconId: "toolbar-view-menu"
anchors.right: (parent === undefined) ? undefined : parent.right
- onClicked: (myMenu.status == DialogStatus.Closed) ? myMenu.open() : myMenu.close()
+ onClicked: (myMenu.status === DialogStatus.Closed) ? myMenu.open() : myMenu.close()
}
}