1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00

MainApplication: Don't call processEvents when restoring session

It seems to help with QtWebEngine crashes during session restore
This commit is contained in:
David Rosca 2017-12-03 11:40:49 +01:00
parent 687f797f27
commit b03c5f3cb0

View File

@ -452,15 +452,11 @@ void MainApplication::openSession(BrowserWindow* window, RestoreData &restoreDat
window->setUpdatesEnabled(true);
processEvents();
foreach (const RestoreManager::WindowData &data, restoreData) {
BrowserWindow* window = createWindow(Qz::BW_OtherRestoredWindow);
window->setUpdatesEnabled(false);
window->restoreWindowState(data);
window->setUpdatesEnabled(true);
processEvents();
}
restoreOverrideCursor();