Force fusion style on Linux (#307)

Fixes some layout issues that occur with other Qt designs.
This commit is contained in:
Hofer-Julian 2019-06-18 04:31:05 +02:00 committed by Manuel Riel
parent 4cdc76680c
commit deb1e32ea8
1 changed files with 4 additions and 0 deletions

View File

@ -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_())