]> cloud.milkyroute.net Git - dolphin.git/commitdiff
same optimization as in 907877 but for the info sidebar's preview.
authorDavid Faure <faure@kde.org>
Thu, 8 Jan 2009 20:51:03 +0000 (20:51 +0000)
committerDavid Faure <faure@kde.org>
Thu, 8 Jan 2009 20:51:03 +0000 (20:51 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=907878

src/infosidebarpage.cpp

index de9be116442c469432c17d5cff30ee4ad19a7cd0..aa8b20553cfca58c35013167e1730f9bf8891ad2 100644 (file)
@@ -210,7 +210,7 @@ void InfoSidebarPage::showItemInfo()
             // can be shown within a short timeframe.
             m_outdatedPreviewTimer->start();
 
-            KIO::PreviewJob* job = KIO::filePreview(KUrl::List() << itemUrl,
+            KIO::PreviewJob* job = KIO::filePreview(KFileItemList() << item,
                                                     m_preview->width(),
                                                     m_preview->height(),
                                                     0,