aboutsummaryrefslogtreecommitdiff
path: root/main.qml
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2022-01-24 15:22:57 -0500
committerluigi1111 <luigi1111w@gmail.com>2022-01-24 15:22:57 -0500
commitc2f706a28abbe0c317589e80277d52bd2b25fe5b (patch)
tree009021a9bfea0f0a916594ae7e71b861b0c3f721 /main.qml
parent4df925e8a82c72dd7b3211ca4fa096cfbd826355 (diff)
parent621c11925bb272675543b5ab428cc2ac6c0416ce (diff)
downloadmonzero-gui-c2f706a28abbe0c317589e80277d52bd2b25fe5b.tar.gz
monzero-gui-c2f706a28abbe0c317589e80277d52bd2b25fe5b.tar.xz
monzero-gui-c2f706a28abbe0c317589e80277d52bd2b25fe5b.zip
Merge pull request #3808
621c119 main: add compile time option to disable desktop entry dialog (selsta)
Diffstat (limited to 'main.qml')
-rw-r--r--main.qml3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.qml b/main.qml
index f856539a..87f1e33c 100644
--- a/main.qml
+++ b/main.qml
@@ -1338,7 +1338,8 @@ ApplicationWindow {
appWindow.fiatTimerStart();
}
- if (persistentSettings.askDesktopShortcut && !persistentSettings.portable) {
+ const desktopEntryEnabled = (typeof builtWithDesktopEntry != "undefined") && builtWithDesktopEntry;
+ if (persistentSettings.askDesktopShortcut && !persistentSettings.portable && desktopEntryEnabled) {
persistentSettings.askDesktopShortcut = false;
if (isTails) {