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:
parent
687f797f27
commit
b03c5f3cb0
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user