From 3bdf9e931dce450f477151d92f7dd8a2171d2224 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 1 Oct 2016 14:11:53 +0200 Subject: Timeout statusBarMessage Impose an arbitrary timeout of 10 seconds on status bar messages. --- shemovcleaner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shemovcleaner.cpp b/shemovcleaner.cpp index a0f5373..bb22e24 100644 --- a/shemovcleaner.cpp +++ b/shemovcleaner.cpp @@ -84,7 +84,7 @@ ShemovCleaner::~ShemovCleaner(){ } void ShemovCleaner::statusBarMessage(const QString &msg){ - statusBar()->showMessage(msg); + statusBar()->showMessage(msg, 10*1000); } void ShemovCleaner::setDuration(const QString &msg){ -- cgit v1.2.3-70-g09d2