1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

ThemeManager: Fix showing duplicated themes

This commit is contained in:
David Rosca 2018-03-02 10:48:55 +01:00
parent d87cffd5db
commit 3bb56fb47d
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -129,7 +129,7 @@ ThemeManager::Theme ThemeManager::parseTheme(const QString &path, const QString
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;
}