]> cloud.milkyroute.net Git - dolphin.git/commitdiff
The nasty "100 ms" delay is not necessary anymore, doing a queued call works perfectl...
authorPeter Penz <peter.penz19@gmail.com>
Fri, 12 Dec 2008 22:33:14 +0000 (22:33 +0000)
committerPeter Penz <peter.penz19@gmail.com>
Fri, 12 Dec 2008 22:33:14 +0000 (22:33 +0000)
CCMAIL: kdedevel@etotheipiplusone.com

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

src/dolphinviewcontainer.cpp

index 371eef654182d774d4e9b60f3e7c87c1ac1ebd90..794418eabec2df06bd8ded7cb5466a79fff88625 100644 (file)
@@ -248,7 +248,7 @@ void DolphinViewContainer::slotDirListerCompleted()
     }
 
     updateStatusBar();
-    QTimer::singleShot(100, this, SLOT(restoreContentsPos()));
+    QMetaObject::invokeMethod(this, "restoreContentsPos", Qt::QueuedConnection);
 
     // Enable the 'File'->'Create New...' menu only if the directory
     // supports writing.