Using KColorSchemeManager::KColorSchemeManager is deprecated

This commit is contained in:
Rob Emery 2024-10-09 22:37:29 +01:00
parent c437b74f76
commit 83536d1684
4 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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