mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-28 17:10:28 +01:00
Fix icon loading.
This commit is contained in:
parent
db59f4b1e7
commit
21c432f6fb
@ -138,12 +138,7 @@ QStringList IconFactory::installedIconThemes() const {
|
||||
QDir icon_theme_dir = QDir(icon_theme_path.absoluteFilePath());
|
||||
|
||||
if (icon_theme_dir.exists(filters_index.at(0))) {
|
||||
// We found theme.
|
||||
QSettings index_theme(icon_theme_dir.entryInfoList(filters_index,
|
||||
QDir::Files).at(0).absoluteFilePath(), QSettings::IniFormat);
|
||||
|
||||
icon_theme_names << index_theme.value(QString("%1/%2").arg("Icon Theme",
|
||||
"Name")).toString();
|
||||
icon_theme_names << icon_theme_dir.dirName();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user