aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-11-30 15:22:31 +0000
committerxiphon <xiphon@protonmail.com>2020-11-30 15:36:19 +0000
commitea1fee2f5f842a293458a66638c15ff79e1d101d (patch)
tree146d01bfda438697cc814b4b4eaec5796fbda9a2 /main.qml
parent96f9c11320ee3c4f1f1c35f3ac8e8f78340bd378 (diff)
downloadmonzero-gui-ea1fee2f5f842a293458a66638c15ff79e1d101d.tar.gz
monzero-gui-ea1fee2f5f842a293458a66638c15ff79e1d101d.tar.xz
monzero-gui-ea1fee2f5f842a293458a66638c15ff79e1d101d.zip
main: Linux - ask to create desktop entry on the first start
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 {