aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-12-03 12:23:01 -0800
committerAlexander Blair <snipa@jagtech.io>2020-12-03 12:23:02 -0800
commit2eeeadfd10011a771bf73ffe7c678c3532c0ca0d (patch)
tree5848000c18f6758845b8c85c11a80249240beacc /main.qml
parent301b20d19ca2ff5702093c502c6048fc4a25c97e (diff)
parentea1fee2f5f842a293458a66638c15ff79e1d101d (diff)
downloadmonzero-gui-2eeeadfd10011a771bf73ffe7c678c3532c0ca0d.tar.gz
monzero-gui-2eeeadfd10011a771bf73ffe7c678c3532c0ca0d.tar.xz
monzero-gui-2eeeadfd10011a771bf73ffe7c678c3532c0ca0d.zip
Merge pull request #3251
ea1fee2f main: Linux - ask to create desktop entry on the first start (xiphon)
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.qml b/main.qml
index a858ad94..76b29a85 100644
--- a/main.qml
+++ b/main.qml
@@ -1332,6 +1332,11 @@ ApplicationWindow {
appWindow.fiatApiRefresh();
appWindow.fiatTimerStart();
}
+
+ if (persistentSettings.askDesktopShortcut && !persistentSettings.portable) {
+ persistentSettings.askDesktopShortcut = false;
+ oshelper.createDesktopEntry();
+ }
}
MoneroSettings {