You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
calculate-overlay/profiles/templates/3.6/6_ac_install_patch/kde-frameworks/kiconthemes/inherit_generic_fallback.patch

15 lines
587 B

# Calculate format=diff
diff --git a/src/kiconloader.cpp b/src/kiconloader.cpp
index 75ab482..328f88d 100644
--- a/src/kiconloader.cpp
+++ b/src/kiconloader.cpp
@@ -940,6 +940,8 @@ QString KIconLoaderPrivate::findMatchingIcon(const QString &name, int size) cons
//qCDebug(KICONTHEMES) << "Looking up" << currentName;
if (genericFallback) {
+ // restore genericFallback flag
+ genericFallback = name.endsWith(QLatin1String("-x-generic"));
// we already tested the base name
break;
}