Browse Source

add 150ms for hiding & restoring window

fix #2290
pull/2322/head
PKEv 10 years ago
parent
commit
b9a9b3f6c5
  1. 2
      src/widget/tool/screenshotgrabber.cpp

2
src/widget/tool/screenshotgrabber.cpp

@ -97,7 +97,7 @@ bool ScreenshotGrabber::handleKeyPress(QKeyEvent* event) @@ -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

Loading…
Cancel
Save