From 4ad4d4785cb1ad88351711de0ec0c1f0e4e5185a Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sun, 10 Oct 2010 17:11:55 +0000 Subject: Update the statusbar also during loading the items, not only after the loading has been completed. This fixes the issue that no current item-count is shown when doing a search. svn path=/trunk/KDE/kdebase/apps/; revision=1184520 --- src/dolphinviewcontainer.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/dolphinviewcontainer.h') diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h index fe1ad8d6e..aa43e8e66 100644 --- a/src/dolphinviewcontainer.h +++ b/src/dolphinviewcontainer.h @@ -28,11 +28,8 @@ #include -#include -#include -#include -#include -#include +#include +#include #include @@ -257,7 +254,8 @@ private: FilterBar* m_filterBar; DolphinStatusBar* m_statusBar; - QTimer* m_statusBarTimer; + QTimer* m_statusBarTimer; // Triggers a delayed update + QElapsedTimer m_statusBarTimestamp; // Time in ms since last update DolphinModel* m_dolphinModel; DolphinDirLister* m_dirLister; -- cgit v1.3