1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

add 150ms for hiding & restoring window

fix #2290
This commit is contained in:
PKEv 2015-09-29 20:39:32 +03:00
parent a2dd254aee
commit b9a9b3f6c5

View File

@ -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