From b9a9b3f6c5a5e3c43407e1e384f47aed8694149a Mon Sep 17 00:00:00 2001 From: PKEv Date: Tue, 29 Sep 2015 20:39:32 +0300 Subject: [PATCH] add 150ms for hiding & restoring window fix #2290 --- src/widget/tool/screenshotgrabber.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/tool/screenshotgrabber.cpp b/src/widget/tool/screenshotgrabber.cpp index e521e31e5..b6b3a153f 100644 --- a/src/widget/tool/screenshotgrabber.cpp +++ b/src/widget/tool/screenshotgrabber.cpp @@ -97,7 +97,7 @@ bool ScreenshotGrabber::handleKeyPress(QKeyEvent* event) this->window->setVisible(false); this->window->resetCachedContent(); // Give the window manager a moment to hide windows - QTimer::singleShot(200, this, SLOT(reInit())); + QTimer::singleShot(350, this, SLOT(reInit())); } else