mirror of
https://github.com/redstrate/Novus.git
synced 2025-04-30 15:37:46 +00:00
Fix the wrong folder-symbolic icon being used
This affected dark themes, oops.
This commit is contained in:
parent
cf6b97930f
commit
0245e15ddf
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ QVariant FileTreeModel::data(const QModelIndex &index, int role) const
|
|||
}
|
||||
} else if (role == Qt::DecorationRole) {
|
||||
if (item->type == TreeType::Folder) {
|
||||
return QIcon::fromTheme(QStringLiteral("folder-black-symbolic"));
|
||||
return QIcon::fromTheme(QStringLiteral("folder-symbolic"));
|
||||
} else if (item->type == TreeType::File) {
|
||||
QFileInfo info(item->name);
|
||||
const FileType type = FileTypes::getFileType(info.completeSuffix());
|
||||
|
|
Loading…
Add table
Reference in a new issue