diff --git a/src/gui/main.cpp b/src/gui/main.cpp index e1814b9ccd117..14b55dab7dc35 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -74,16 +74,6 @@ int main(int argc, char **argv) OCC::Application app(argc, argv); -#ifdef Q_OS_WIN - // The Windows style still has pixelated elements with Qt 5.6, - // it's recommended to use the Fusion style in this case, even - // though it looks slightly less native. Check here after the - // QApplication was constructed, but before any QWidget is - // constructed. - if (app.devicePixelRatio() > 1) - QApplication::setStyle(QStringLiteral("fusion")); -#endif // Q_OS_WIN - #ifndef Q_OS_WIN signal(SIGPIPE, SIG_IGN); #endif