diff options
| author | Peter Penz <[email protected]> | 2008-12-12 22:33:14 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-12-12 22:33:14 +0000 |
| commit | a86985b0b46ee97e7705242f3d5648f84425a87b (patch) | |
| tree | e1159b7c8194c58cb06354cde60c49056d607ae9 /src/dolphinviewcontainer.cpp | |
| parent | 3b4e44d6da4e63d6828799ce60df3f7de64a21ae (diff) | |
The nasty "100 ms" delay is not necessary anymore, doing a queued call works perfectly to restore the contents position of a view.
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=896237
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 371eef654..794418eab 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -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. |
