(qt) fix file-tree icon regression caused by r14000 for #5285; found & patched by rb07

This commit is contained in:
Jordan Lee 2013-04-24 22:56:28 +00:00
parent 877055e3ae
commit de6e408a66
1 changed files with 1 additions and 1 deletions

View File

@ -813,7 +813,7 @@ FileTreeDelegate :: paint (QPainter * painter,
else
{
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);