]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Forwardport SVN commit 761729 by woebbe:
authorAndré Wöbbeking <woebbeking@kde.org>
Tue, 15 Jan 2008 11:15:56 +0000 (11:15 +0000)
committerAndré Wöbbeking <woebbeking@kde.org>
Tue, 15 Jan 2008 11:15:56 +0000 (11:15 +0000)
make sure that other apps using this part find Dolphin's view-file-columns icons

svn path=/trunk/KDE/kdebase/apps/; revision=761747

src/dolphinpart.cpp

index 155884bfab5907c166ad6d93d82a90748993017f..d26f14061fd00722fd383fd8cba7ace4f0de0e5b 100644 (file)
@@ -28,6 +28,7 @@
 
 #include <kactioncollection.h>
 #include <kdirlister.h>
+#include <kiconloader.h>
 #include <kmessagebox.h>
 #include <kparts/genericfactory.h>
 #include <ktoggleaction.h>
@@ -47,6 +48,9 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QStringLi
     setComponentData( DolphinPartFactory::componentData() );
     m_extension = new DolphinPartBrowserExtension(this);
 
+    // make sure that other apps using this part find Dolphin's view-file-columns icons
+    KIconLoader::global()->addAppDir("dolphin");
+
     m_dirLister = new KDirLister;
     m_dirLister->setAutoUpdate(true);
     m_dirLister->setMainWindow(parentWidget->topLevelWidget());