diff --git a/app/main.cpp b/app/main.cpp index 29ab2b65c..ce5e468b7 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -24,6 +24,10 @@ int main(int argc, char* argv[]) aboutData.addAuthor(i18n("Aleix Pol Gonzalez"), i18n("Maintainer"), QStringLiteral("aleixpol@kde.org")); KAboutData::setApplicationData(aboutData); +#ifdef Q_OS_WIN + QApplication::setStyle(QStringLiteral("breeze")); +#endif + // Default to org.kde.desktop style unless the user forces another style if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) { QQuickStyle::setStyle(QStringLiteral("org.kde.desktop")); diff --git a/indicator/main.cpp b/indicator/main.cpp index 943c91958..73f026093 100644 --- a/indicator/main.cpp +++ b/indicator/main.cpp @@ -42,6 +42,7 @@ int main(int argc, char** argv) KAboutData::setApplicationData(about); #ifdef Q_OS_WIN + QApplication::setStyle(QStringLiteral("breeze")); IndicatorHelper helper(QUrl::fromLocalFile(qApp->applicationDirPath())); #else IndicatorHelper helper; diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index cb447a43f..bbbc857e1 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -41,6 +41,10 @@ KdeConnectKcm::KdeConnectKcm(QWidget* parent, const QVariantList& args) about->addAuthor(i18n("Albert Vaca Cintora")); setAboutData(about); +#ifdef Q_OS_WIN + QApplication::setStyle(QStringLiteral("breeze")); +#endif + kcmUi->setupUi(this); sortProxyModel = new DevicesSortProxyModel(devicesModel); diff --git a/smsapp/main.cpp b/smsapp/main.cpp index e04e849c8..24d4ae0b0 100644 --- a/smsapp/main.cpp +++ b/smsapp/main.cpp @@ -39,6 +39,10 @@ int main(int argc, char *argv[]) aboutData.addAuthor(i18n("Nicolas Fella"), {}, QStringLiteral("nicolas.fella@gmx.de")); KAboutData::setApplicationData(aboutData); +#ifdef Q_OS_WIN + QApplication::setStyle(QStringLiteral("breeze")); +#endif + // Default to org.kde.desktop style unless the user forces another style if (qEnvironmentVariableIsEmpty("QT_QUICK_CONTROLS_STYLE")) { QQuickStyle::setStyle(QStringLiteral("org.kde.desktop")); diff --git a/urlhandler/kdeconnect-handler.cpp b/urlhandler/kdeconnect-handler.cpp index e0847cae8..b92ca713d 100644 --- a/urlhandler/kdeconnect-handler.cpp +++ b/urlhandler/kdeconnect-handler.cpp @@ -46,6 +46,10 @@ int main(int argc, char** argv) about.addAuthor( QStringLiteral("Aleix Pol Gonzalez"), QString(), QStringLiteral("aleixpol@kde.org") ); KAboutData::setApplicationData(about); +#ifdef Q_OS_WIN + QApplication::setStyle(QStringLiteral("breeze")); +#endif + QUrl urlToShare; bool open; {