diff --git a/indicator/main.cpp b/indicator/main.cpp index 619dd1bda..d08d23300 100644 --- a/indicator/main.cpp +++ b/indicator/main.cpp @@ -64,7 +64,7 @@ int main(int argc, char **argv) KCrash::initialize(); #ifdef Q_OS_WIN - KColorSchemeManager manager; + KColorSchemeManager::instance(); QApplication::setStyle(QStringLiteral("breeze")); #endif diff --git a/kcm/kcm.cpp b/kcm/kcm.cpp index 6bc6feb62..05d9297b9 100644 --- a/kcm/kcm.cpp +++ b/kcm/kcm.cpp @@ -47,7 +47,7 @@ KdeConnectKcm::KdeConnectKcm(QObject *parent, const KPluginMetaData &md, const Q , currentDevice(nullptr) { #ifdef Q_OS_WIN - KColorSchemeManager manager; + KColorSchemeManager::instance(); QApplication::setStyle(QStringLiteral("breeze")); #endif diff --git a/smsapp/main.cpp b/smsapp/main.cpp index 94d8b9071..181a48d16 100644 --- a/smsapp/main.cpp +++ b/smsapp/main.cpp @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) KCrash::initialize(); #ifdef Q_OS_WIN - KColorSchemeManager manager; + KColorSchemeManager::instance(); QApplication::setStyle(QStringLiteral("breeze")); #endif diff --git a/urlhandler/kdeconnect-handler.cpp b/urlhandler/kdeconnect-handler.cpp index 5270a696a..175828c9d 100644 --- a/urlhandler/kdeconnect-handler.cpp +++ b/urlhandler/kdeconnect-handler.cpp @@ -55,7 +55,7 @@ int main(int argc, char **argv) KDBusService dbusService(KDBusService::Unique); #ifdef Q_OS_WIN - KColorSchemeManager manager; + KColorSchemeManager::instance(); QApplication::setStyle(QStringLiteral("breeze")); #endif