From 50676d8d255ed52d91885e5dd23e60474777cfd5 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 23 Jan 2007 18:33:43 +0000 Subject: Minor adjustments and cleanups in the statusbar: - prevent a flickering of the space information if a folder has been changed - assure that no progress bar and space information is shown if an error is displayed currently svn path=/trunk/playground/utils/dolphin/; revision=626571 --- src/statusbarspaceinfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/statusbarspaceinfo.cpp') diff --git a/src/statusbarspaceinfo.cpp b/src/statusbarspaceinfo.cpp index ce8a2519b..bccda6e68 100644 --- a/src/statusbarspaceinfo.cpp +++ b/src/statusbarspaceinfo.cpp @@ -52,7 +52,7 @@ void StatusBarSpaceInfo::setUrl(const KUrl& url) { m_url = url; refresh(); - update(); + QTimer::singleShot(300, this, SLOT(update())); } void StatusBarSpaceInfo::paintEvent(QPaintEvent* /* event */) -- cgit v1.3