Changeset View
Changeset View
Standalone View
Standalone View
src/kiconloader.cpp
Show First 20 Lines • Show All 554 Lines • ▼ Show 20 Line(s) | 505 | for (const QString &overlay : overlays) { | |||
---|---|---|---|---|---|
555 | } | 555 | } | ||
556 | } | 556 | } | ||
557 | } | 557 | } | ||
558 | 558 | | |||
559 | void KIconLoaderPrivate::_k_refreshIcons(int group) | 559 | void KIconLoaderPrivate::_k_refreshIcons(int group) | ||
560 | { | 560 | { | ||
561 | KSharedConfig::Ptr sharedConfig = KSharedConfig::openConfig(); | 561 | KSharedConfig::Ptr sharedConfig = KSharedConfig::openConfig(); | ||
562 | sharedConfig->reparseConfiguration(); | 562 | sharedConfig->reparseConfiguration(); | ||
563 | | ||||
564 | const QString newThemeName = sharedConfig->group("Icons") | 563 | const QString newThemeName = sharedConfig->group("Icons") | ||
565 | .readEntry("Theme", QString()); | 564 | .readEntry("Theme", QStringLiteral("breeze")); | ||
apol: QStringLiteral | |||||
566 | if (!newThemeName.isEmpty()) { | 565 | if (!newThemeName.isEmpty()) { | ||
567 | // If we're refreshing icons the Qt platform plugin has probably | 566 | // If we're refreshing icons the Qt platform plugin has probably | ||
568 | // already cached the old theme, which will accidentally filter back | 567 | // already cached the old theme, which will accidentally filter back | ||
569 | // into KIconTheme unless we reset it | 568 | // into KIconTheme unless we reset it | ||
570 | QIcon::setThemeName(newThemeName); | 569 | QIcon::setThemeName(newThemeName); | ||
571 | } | 570 | } | ||
572 | 571 | | |||
573 | q->newIconLoader(); | 572 | q->newIconLoader(); | ||
▲ Show 20 Lines • Show All 1304 Lines • Show Last 20 Lines |
QStringLiteral