mirror of
https://github.com/blw1138/Zordon.git
synced 2025-12-17 08:48:13 +00:00
Use Fusion Qt style on non-Mac platforms
This commit is contained in:
@@ -175,6 +175,8 @@ def __show_gui(buffer_handler):
|
|||||||
|
|
||||||
# load application
|
# load application
|
||||||
app: QApplication = QApplication(sys.argv)
|
app: QApplication = QApplication(sys.argv)
|
||||||
|
if app.style().objectName() != 'macos':
|
||||||
|
app.setStyle('Fusion')
|
||||||
|
|
||||||
# configure main window
|
# configure main window
|
||||||
from src.ui.main_window import MainWindow
|
from src.ui.main_window import MainWindow
|
||||||
|
|||||||
Reference in New Issue
Block a user