From c2b388d5530e4bab57bd88ad7a185189cdbb7f6c Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Tue, 26 Jan 2021 16:08:47 +0100 Subject: [PATCH] Use breeze QStyle on Windows On Windows we want to use qqc2-desktop-style together with the Breeze QStyle instead of the default QStyle --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index c7620e42c..f3d967ebb 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -68,6 +68,10 @@ int main(int argc, char *argv[]) } #endif +#if Q_OS_WINDOWS + QApplication::setStyle(QStringLiteral("breeze")); +#endif + QApplication::setOrganizationName("KDE"); KAboutData about(QStringLiteral("neochat"), i18n("Neochat"), QStringLiteral(NEOCHAT_VERSION_STRING), i18n("Matrix client"), KAboutLicense::GPL_V3, i18n("© 2018-2020 Black Hat, 2020 KDE Community"));