1
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:
David Rosca 2015-09-24 19:36:20 +02:00
parent 37cd709b7f
commit cde3ed179b

View File

@ -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());