Browse Source

Use pre Qt5.4 QTimer::singleShot

For compatibility with Debian Jessie
pull/2715/head
tux3 10 years ago
parent
commit
b01f47b1aa
No known key found for this signature in database
GPG Key ID: 7E086DD661263264
  1. 2
      src/widget/tool/screenshotgrabber.cpp

2
src/widget/tool/screenshotgrabber.cpp

@ -110,7 +110,7 @@ bool ScreenshotGrabber::handleKeyPress(QKeyEvent* event)
restoreHiddenWindows(); restoreHiddenWindows();
window->hide(); window->hide();
QTimer::singleShot(350, this, &ScreenshotGrabber::reInit); QTimer::singleShot(350, this, SLOT(reInit()));
} }
else else
return false; return false;

Loading…
Cancel
Save