┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2008-04-10 11:51:30 +0000
committerDavid Faure <[email protected]>2008-04-10 11:51:30 +0000
commit71b626b3583e180815309c3760b09447854daffa (patch)
tree12c20d2bdcd2eaf87ad47b815fad121e1c63d648 /src/dolphinpart.cpp
parent5e9de7232e6e00547b57187ba105aff44303b75d (diff)
Load plugins at the end of the ctor, so that everything is set up already. Will improve the Part API to make this easier.
svn path=/trunk/KDE/kdebase/apps/; revision=795466
Diffstat (limited to 'src/dolphinpart.cpp')
-rw-r--r--src/dolphinpart.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp
index bc7086399..9e6f6047e 100644
--- a/src/dolphinpart.cpp
+++ b/src/dolphinpart.cpp
@@ -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()