summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/main.cpp')
-rw-r--r--rbutil/rbutilqt/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/main.cpp b/rbutil/rbutilqt/main.cpp
index e9a86fd3c3..47c625b54d 100644
--- a/rbutil/rbutilqt/main.cpp
+++ b/rbutil/rbutilqt/main.cpp
@@ -19,6 +19,7 @@
#include <QCoreApplication>
#include <QSettings>
+#include <QStyleFactory>
#include "rbutilqt.h"
#include "systrace.h"
#include "Logger.h"
@@ -43,6 +44,9 @@ int main( int argc, char ** argv ) {
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication app( argc, argv );
+#ifdef Q_OS_WIN
+ qApp->setStyle(QStyleFactory::create("Fusion"));
+#endif
ConsoleAppender* consoleAppender = new ConsoleAppender();
consoleAppender->setFormat("[%{file}:%{line} %{type}] %{message}\n");
cuteLoggerInstance()->registerAppender(consoleAppender);