]> cloud.milkyroute.net Git - dolphin.git/commitdiff
When listing already visited dir, completed() would be emitted from within setUrl...
authorJakub Stachowski <qbast@go2.pl>
Wed, 28 Nov 2007 19:44:44 +0000 (19:44 +0000)
committerJakub Stachowski <qbast@go2.pl>
Wed, 28 Nov 2007 19:44:44 +0000 (19:44 +0000)
emit started(0) making konq logo spinning indefinitely.

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

src/dolphinpart.cpp

index 5e64a14feb7f1f7281f97f07b8d7fcc1b8e915cb..e25c2882f1faeb1c5220ead728a544bf773255b0 100644 (file)
@@ -197,10 +197,10 @@ bool DolphinPart::openUrl(const KUrl& url)
     const QString prettyUrl = url.pathOrUrl();
     emit setWindowCaption(prettyUrl);
     emit m_extension->setLocationBarUrl(prettyUrl);
+    emit started(0); // get the wheel to spin
     m_view->setUrl(url);
     if (reload)
         m_view->reload();
-    emit started(0); // get the wheel to spin
     return true;
 }