X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/03f4481bdfb8e96b26acfccbf2b2bc780b060cf2..8cb8b519099e2d8bc86a574e014fc3cd780acfa8:/src/dolphinpart.cpp diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index e155573cc..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() @@ -217,6 +219,7 @@ bool DolphinPart::openUrl(const KUrl& url) emit m_extension->setLocationBarUrl(prettyUrl); emit started(0); // get the wheel to spin m_view->setUrl(url); + emit aboutToOpenURL(); if (reload) m_view->reload(); return true;