Skip to content

Commit

Permalink
Using KColorSchemeManager::KColorSchemeManager is deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
mintsoft committed Oct 10, 2024
1 parent c437b74 commit 83536d1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion indicator/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion kcm/kcm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion smsapp/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion urlhandler/kdeconnect-handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 83536d1

Please sign in to comment.