From 52478842e320536ce77eb1a13c235b2d5f98927f Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 1 Aug 2009 20:30:23 +0000 Subject: Assure that non-default messages don't get hidden after a very short time by default messages. svn path=/trunk/KDE/kdebase/apps/; revision=1005712 --- src/statusbar/dolphinstatusbar.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/statusbar/dolphinstatusbar.h') diff --git a/src/statusbar/dolphinstatusbar.h b/src/statusbar/dolphinstatusbar.h index a536ea178..a07313bab 100644 --- a/src/statusbar/dolphinstatusbar.h +++ b/src/statusbar/dolphinstatusbar.h @@ -22,6 +22,7 @@ #define DOLPHINSTATUSBAR_H #include +#include class DolphinView; class KUrl; @@ -179,6 +180,11 @@ private: QLabel* m_progressText; QProgressBar* m_progressBar; int m_progress; + + // Timestamp when the last message has been set that has not the type + // 'Default'. The timestamp is used to prevent that default messages + // hide more important messages after a very short delay. + QTime m_messageTimeStamp; }; #endif -- cgit v1.3.1