summaryrefslogtreecommitdiff
path: root/gui/qml
diff options
context:
space:
mode:
authorkali kaneko (leap communications) <kali@leap.se>2020-11-23 20:35:39 +0100
committerkali kaneko (leap communications) <kali@leap.se>2020-11-23 20:36:04 +0100
commit47e0380c7c61b42092415c2d0a7efe10c2475980 (patch)
treeaf40caed2de7cdf64e2589abd50287ad0e49b7e3 /gui/qml
parent0da663d24e7559f622eeced3d558150a7b6ee2db (diff)
[bug] fix my syntax error
sorry about that :(
Diffstat (limited to 'gui/qml')
-rw-r--r--gui/qml/main.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/qml/main.qml b/gui/qml/main.qml
index b9468b5..a85ae46 100644
--- a/gui/qml/main.qml
+++ b/gui/qml/main.qml
@@ -170,7 +170,7 @@ ApplicationWindow {
if (systrayVisible) {
show();
if (Qt.platform.os === "windows") {
- let appname: ctx ? ctx.appName: "VPN"
+ let appname = ctx ? ctx.appName: "VPN";
showNotification(appname + " is up and running. Please use system tray icon to control it.");
}
}
@@ -180,7 +180,7 @@ ApplicationWindow {
function showNotification(msg) {
console.log("Going to show notification message: ", msg);
if (supportsMessages) {
- let appname: ctx ? ctx.appName: "VPN"
+ let appname = ctx ? ctx.appName: "VPN";
showMessage(appname, msg, null, 15000);
} else {
console.log("System doesn't support systray notifications");