Tweaking timing of geometry restoration

This commit is contained in:
Bradley Austin Davis 2015-07-30 12:44:47 -07:00
parent a260be9a4d
commit fccb07dc93

View file

@ -4867,7 +4867,7 @@ void Application::unsetFullscreen() {
_window->showNormal();
#ifdef Q_OS_MAC
QTimer* timer = new QTimer();
timer->singleShot(1000, [=] {
timer->singleShot(2000, [=] {
_window->setGeometry(_savedGeometry);
timer->deleteLater();
});