From e66d469c3cdc72b6c0adb274ae39028301168369 Mon Sep 17 00:00:00 2001
From: "kali kaneko (leap communications)" <kali@leap.se>
Date: Thu, 4 Jun 2020 13:32:42 +0200
Subject: [PATCH] [bug] fix function call

Signed-off-by: kali kaneko (leap communications) <kali@leap.se>
---
 gui/qml/main.qml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index 38f5331a..b601f407 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") }
                     }
                 ]
             }
-- 
GitLab