summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changes/feature-3981_cleanlooks-for-bundle-only2
-rw-r--r--src/leap/bitmask/app.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/changes/feature-3981_cleanlooks-for-bundle-only b/changes/feature-3981_cleanlooks-for-bundle-only
new file mode 100644
index 00000000..c762b8f3
--- /dev/null
+++ b/changes/feature-3981_cleanlooks-for-bundle-only
@@ -0,0 +1,2 @@
+ o Force cleanlooks style for kde only if the app is running from bundle.
+ Closes #3981.
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index d5132731..c1859478 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -211,7 +211,7 @@ def main():
# We force the style if on KDE so that it doesn't load all the kde
# libs, which causes a compatibility issue in some systems.
# For more info, see issue #3194
- if os.environ.get("KDE_SESSION_UID") is not None:
+ if flags.STANDALONE and os.environ.get("KDE_SESSION_UID") is not None:
sys.argv.append("-style")
sys.argv.append("Cleanlooks")