mirror of
https://github.com/transmission/transmission
synced 2024-12-23 16:24:02 +00:00
(qt) fix file-tree icon regression caused by r14000 for #5285; found & patched by rb07
This commit is contained in:
parent
877055e3ae
commit
de6e408a66
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ FileTreeDelegate :: paint (QPainter * painter,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
QString name = index.data().toString();
|
QString name = index.data().toString();
|
||||||
icon = Utils :: guessMimeIcon (name.left(name.lastIndexOf(" (")));
|
icon = Utils :: guessMimeIcon (name);
|
||||||
}
|
}
|
||||||
icon.paint (painter, iconArea, Qt::AlignCenter, QIcon::Normal, QIcon::On);
|
icon.paint (painter, iconArea, Qt::AlignCenter, QIcon::Normal, QIcon::On);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue