]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Use KFileItem::text() instead of KUrl::fileName() to display the entry's name in...
authorSebastian Trueg <sebastian@trueg.de>
Sun, 29 Nov 2009 18:16:36 +0000 (18:16 +0000)
committerSebastian Trueg <sebastian@trueg.de>
Sun, 29 Nov 2009 18:16:36 +0000 (18:16 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=1056260

src/panels/information/informationpanelcontent.cpp

index bd24e568d27ba47b8ec98669337a4e35ec7c56fe..889a0272fa0ac57404e88227dbbc542a6dd57028 100644 (file)
@@ -184,7 +184,7 @@ void InformationPanelContent::showItem(const KFileItem& item)
             connect(job, SIGNAL(failed(const KFileItem&)),
                     this, SLOT(showIcon(const KFileItem&)));
 
-            setNameLabelText(itemUrl.fileName());
+            setNameLabelText(item.text());
         }
     }