From f8c05f3dee29c7ab1eb3eba82c917fe18333fc41 Mon Sep 17 00:00:00 2001 From: "kali kaneko (leap communications)" Date: Fri, 9 Oct 2020 21:58:15 +0200 Subject: [pkg] add vendor icon to app --- gui/qml/main.qml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'gui/qml/main.qml') diff --git a/gui/qml/main.qml b/gui/qml/main.qml index ce72fff..dcffcde 100644 --- a/gui/qml/main.qml +++ b/gui/qml/main.qml @@ -42,6 +42,9 @@ ApplicationWindow { showInitFailure() } } + if (ctx.donateURL) { + donateItem.visible = true + } } } @@ -98,8 +101,8 @@ ApplicationWindow { allowEmptyPass = shouldAllowEmptyPass() app.visible = true; - show(); - hide(); + //show(); + //hide(); } function toHuman(st) { @@ -251,8 +254,9 @@ ApplicationWindow { } MenuItem { + id: donateItem text: qsTr("Donate...") - visible: ctx && ctx.donateURL + visible: ctx ? ctx.donateURL : false onTriggered: { donate.visible = true } } -- cgit v1.2.3