From 10f249831d7893473dd93b5849bca2ed69f515de Mon Sep 17 00:00:00 2001 From: Laurent Trinques Date: Thu, 29 Aug 2019 13:12:00 +0200 Subject: [PATCH] Force Fusion style on macOS --- sources/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sources/main.cpp b/sources/main.cpp index 62e007abc..513b76427 100644 --- a/sources/main.cpp +++ b/sources/main.cpp @@ -19,6 +19,7 @@ #include "singleapplication.h" #include "qet.h" #include "macosxopenevent.h" +#include /** * @brief main @@ -47,6 +48,7 @@ int main(int argc, char **argv) //or drop these same files to the QET icon of the dock MacOSXOpenEvent open_event; app.installEventFilter(&open_event); + app.setStyle(QStyleFactory::create("Fusion")); #endif if (app.isSecondary())