┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-10-10 17:11:55 +0000
committerPeter Penz <[email protected]>2010-10-10 17:11:55 +0000
commit4ad4d4785cb1ad88351711de0ec0c1f0e4e5185a (patch)
tree6738f5d7406aa252e9ae5dee9731e480e20d5e1a /src/dolphinviewcontainer.h
parentc40a3a1ee6732a4aebba7128a25cb89f2da2fcbc (diff)
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
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h10
1 files changed, 4 insertions, 6 deletions
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 <kurlnavigator.h>
-#include <QtGui/QKeyEvent>
-#include <QtCore/QLinkedList>
-#include <QtGui/QListView>
-#include <QtGui/QBoxLayout>
-#include <QtGui/QWidget>
+#include <QElapsedTimer>
+#include <QWidget>
#include <views/dolphinview.h>
@@ -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;