Skip to content

Commit

Permalink
Windows dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed May 25, 2023
1 parent 41329f6 commit cb8b391
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/AutoSplit.py
Original file line number Diff line number Diff line change
Expand Up @@ -938,6 +938,9 @@ def is_already_open():


def main():
# Best to call setStyle before the QApplication constructor
# https://doc.qt.io/qt-6/qapplication.html#setStyle-1
QApplication.setStyle("fusion")
# Call to QApplication outside the try-except so we can show error messages
app = QApplication(sys.argv)
try:
Expand Down

0 comments on commit cb8b391

Please sign in to comment.