mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 18:56:34 +01:00
ThemeManager: Fix showing duplicated themes
This commit is contained in:
parent
d87cffd5db
commit
3bb56fb47d
@ -129,7 +129,7 @@ ThemeManager::Theme ThemeManager::parseTheme(const QString &path, const QString
|
|||||||
info.license = QzTools::readAllFileContents(path + licensePath);
|
info.license = QzTools::readAllFileContents(path + licensePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (info.name.isEmpty() || m_themeHash.contains(info.name)) {
|
if (info.name.isEmpty() || m_themeHash.contains(name)) {
|
||||||
return info;
|
return info;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user