diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 38f5331a2f6fcf32e36b651c03148f9b39975113..b601f4078d816929a8519fdba39b09ecaccd773f 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -92,13 +92,13 @@ ApplicationWindow {
                     },
                     State {
                         name: "stopping"
-                        PropertyChanges { target: systray; tooltip: toHuman["stopping"]; icon.source: icons["wait"] }
-                        PropertyChanges { target: statusItem; text: toHuman["stopping"] }
+                        PropertyChanges { target: systray; tooltip: toHuman("stopping"); icon.source: icons["wait"] }
+                        PropertyChanges { target: statusItem; text: toHuman("stopping") }
                     },
                     State {
                         name: "failed"
-                        PropertyChanges { target: systray; tooltip: toHuman["failed"]; icon.source: icons["wait"] }
-                        PropertyChanges { target: statusItem; text: toHuman["failed"] }
+                        PropertyChanges { target: systray; tooltip: toHuman("failed"); icon.source: icons["wait"] }
+                        PropertyChanges { target: statusItem; text: toHuman("failed") }
                     }
                 ]
             }