(qt) fix file-tree icon regression caused by r14000 for #5285; found & patched by rb07
This commit is contained in:
parent
877055e3ae
commit
de6e408a66
|
@ -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 New Issue