Adopted QtCreator suggestion about using ===
authorLuciano Montanaro <mikelima@cirulla.net>
Sat, 23 Jul 2011 17:31:15 +0000 (19:31 +0200)
committerLuciano Montanaro <mikelima@cirulla.net>
Tue, 27 Dec 2011 22:16:47 +0000 (23:16 +0100)
application/resources/harmattan/qml/SearchBar.qml

index 980db75..a529e04 100644 (file)
@@ -43,7 +43,7 @@ BorderImage {
         inputMethodHints: Qt.ImhNoPredictiveText | Qt.ImhNoAutoUppercase
         platformStyle: TextFieldStyle { paddingRight: clearButton.width }
         onTextChanged: {
-            if (searchField.text.length == 0) {
+            if (searchField.text.length === 0) {
                 searchButton.visible = true
                 clearButton.visible = false
             } else {