diff --git a/src/kicontheme.cpp b/src/kicontheme.cpp --- a/src/kicontheme.cpp +++ b/src/kicontheme.cpp @@ -761,7 +761,6 @@ // do nothing. key not required } else { qWarning() << "Invalid Context=" << tmp << "line for icon theme: " << constructFileName(QString()); - return; } tmp = config.readEntry(QStringLiteral("Type"), QStringLiteral("Threshold")); if (tmp == QLatin1String("Fixed")) { @@ -772,7 +771,7 @@ mType = KIconLoader::Threshold; } else { qWarning() << "Invalid Type=" << tmp << "line for icon theme: " << constructFileName(QString()); - return; + mType = KIconLoader::Threshold; } if (mType == KIconLoader::Scalable) { mMinSize = config.readEntry(QStringLiteral("MinSize"), mSize);