X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/246c18a93c63cd3eaa7b53ce27f82009481f3401..ec00f379dc42b00a64ab1af25bb4bb1a06bd7449:/src/dolphinpart.cpp diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index 39df8feae..1bc1edac0 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -107,8 +107,13 @@ bool DolphinPart::openUrl(const KUrl& url) const QString prettyUrl = url.pathOrUrl(); emit setWindowCaption(prettyUrl); emit m_extension->setLocationBarUrl(prettyUrl); + const bool reload = arguments().reload(); + if (m_view->url() == url && !reload) { // DolphinView won't do anything in that case, so don't emit started + return true; + } + setUrl(url); // remember it at the KParts level m_view->setUrl(url); - if (arguments().reload()) + if (reload) m_view->reload(); emit started(0); // get the wheel to spin return true;