mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[Crash] Fixed crash after closing first app window
Always create BrowserWindow with MainApp::createWindow (even in MainApp constructor). Regression from recent commits.
This commit is contained in:
parent
493edfc655
commit
853e3905ee
|
@ -227,9 +227,8 @@ MainApplication::MainApplication(int &argc, char** argv)
|
|||
|
||||
translateApp();
|
||||
|
||||
BrowserWindow* window = new BrowserWindow(Qz::BW_FirstAppWindow, startUrl);
|
||||
BrowserWindow* window = createWindow(Qz::BW_FirstAppWindow, startUrl);
|
||||
connect(window, SIGNAL(startingCompleted()), this, SLOT(restoreOverrideCursor()));
|
||||
m_windows.prepend(window);
|
||||
|
||||
loadSettings();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user