mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
Always show restore page when starting after crash
This commit is contained in:
parent
37cd709b7f
commit
cde3ed179b
|
@ -188,8 +188,9 @@ void BrowserWindow::postLaunch()
|
|||
case Qz::BW_FirstAppWindow:
|
||||
#if QTWEBENGINE_DISABLED
|
||||
if (mApp->isStartingAfterCrash()) {
|
||||
addTab = true;
|
||||
startUrl = QUrl("qupzilla:restore");
|
||||
addTab = false;
|
||||
startUrl.clear();
|
||||
m_tabWidget->addView(QUrl("qupzilla:restore"), Qz::NT_CleanSelectedTabAtTheEnd);
|
||||
}
|
||||
else if (afterLaunch == 3 && mApp->restoreManager()) {
|
||||
addTab = !mApp->restoreSession(this, mApp->restoreManager()->restoreData());
|
||||
|
|
Loading…
Reference in New Issue
Block a user