]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Load plugins at the end of the ctor, so that everything is set up already. Will impro...
authorDavid Faure <faure@kde.org>
Thu, 10 Apr 2008 11:51:30 +0000 (11:51 +0000)
committerDavid Faure <faure@kde.org>
Thu, 10 Apr 2008 11:51:30 +0000 (11:51 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=795466

src/dolphinpart.cpp

index bc7086399cf5a2d1fcff25709085c511cfd03e61..9e6f6047ee841b0c0f6555b90f4b5b78fb476d5d 100644 (file)
@@ -46,7 +46,7 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QStringLi
     : KParts::ReadOnlyPart(parent)
 {
     Q_UNUSED(args)
-    setComponentData( DolphinPartFactory::componentData() );
+    setComponentData(DolphinPartFactory::componentData(), false);
     m_extension = new DolphinPartBrowserExtension(this);
 
     // make sure that other apps using this part find Dolphin's view-file-columns icons
@@ -110,6 +110,8 @@ DolphinPart::DolphinPart(QWidget* parentWidget, QObject* parent, const QStringLi
 
     // TODO there was a "always open a new window" (when clicking on a directory) setting in konqueror
     // (sort of spacial navigation)
+
+    loadPlugins(this, this, componentData());
 }
 
 DolphinPart::~DolphinPart()