From 887d2f1cb5f3314c9236f82a10be50b8b25a4a7c Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Thu, 30 Sep 2021 21:59:00 +0200 Subject: [PATCH] - hintbox: setDelay() prototype v2 Signed-off-by: Thilo Graf see commit message at: - change some hintboxes --- src/gui/widget/hintbox.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/gui/widget/hintbox.h b/src/gui/widget/hintbox.h index 218281b12..1ece9cfff 100644 --- a/src/gui/widget/hintbox.h +++ b/src/gui/widget/hintbox.h @@ -377,7 +377,10 @@ class CHint : public CHintBox virtual ~CHint() { if (delay) - sleep(delay); + { + setTimeOut(delay); + exec(); + } }; };