diff --git a/src/lib/preferences/thememanager.cpp b/src/lib/preferences/thememanager.cpp index f99e45065..134765b94 100644 --- a/src/lib/preferences/thememanager.cpp +++ b/src/lib/preferences/thememanager.cpp @@ -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; }