From deb1e32ea881094e53fc026c0def7616c9a4e65d Mon Sep 17 00:00:00 2001 From: Hofer-Julian Date: Tue, 18 Jun 2019 04:31:05 +0200 Subject: [PATCH] Force fusion style on Linux (#307) Fixes some layout issues that occur with other Qt designs. --- src/vorta/__main__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/vorta/__main__.py b/src/vorta/__main__.py index 9437c9e4..415670a8 100644 --- a/src/vorta/__main__.py +++ b/src/vorta/__main__.py @@ -40,6 +40,10 @@ def main(): app = VortaApp(sys.argv, single_app=True) app.updater = get_updater() + # Force fusion style on Linux + if sys.platform.startswith('linux'): + app.setStyle('Fusion') + sys.exit(app.exec_())