diff --git a/src/lib/app/mainapplication.cpp b/src/lib/app/mainapplication.cpp index f5abec793..fb103c0b3 100644 --- a/src/lib/app/mainapplication.cpp +++ b/src/lib/app/mainapplication.cpp @@ -323,9 +323,6 @@ MainApplication::MainApplication(int &argc, char** argv) m_restoreManager = new RestoreManager(sessionManager()->lastActiveSessionPath()); if (!m_restoreManager->isValid()) { destroyRestoreManager(); - } else { - // Pinned tabs are saved into session.dat, so remove the old saved pinned tabs - QFile::remove(DataPaths::currentProfilePath() + QL1S("/pinnedtabs.dat")); } } } @@ -429,7 +426,6 @@ void MainApplication::openSession(BrowserWindow* window, RestoreData &restoreDat // // Don't restore tabs in current window as user already opened // some new tabs. - // Instead create new one and restore pinned tabs there BrowserWindow* newWin = createWindow(Qz::BW_OtherRestoredWindow); newWin->restoreWindowState(restoreData.at(0)); restoreData.remove(0); diff --git a/src/lib/network/schemehandlers/falkonschemehandler.cpp b/src/lib/network/schemehandlers/falkonschemehandler.cpp index b3d0278e6..9b628b8bc 100644 --- a/src/lib/network/schemehandlers/falkonschemehandler.cpp +++ b/src/lib/network/schemehandlers/falkonschemehandler.cpp @@ -378,7 +378,6 @@ QString FalkonSchemeReply::configPage() QString("
%1
%2
").arg(tr("Profile"), DataPaths::currentProfilePath()) + QString("
%1
%2
").arg(tr("Settings"), DataPaths::currentProfilePath() + "/settings.ini") + QString("
%1
%2
").arg(tr("Saved session"), SessionManager::defaultSessionPath()) + - QString("
%1
%2
").arg(tr("Pinned tabs"), DataPaths::currentProfilePath() + "/pinnedtabs.dat") + QString("
%1
%2
").arg(tr("Data"), DataPaths::path(DataPaths::AppData)) + QString("
%1
%2
").arg(tr("Themes"), DataPaths::path(DataPaths::Themes)) + QString("
%1
%2
").arg(tr("Translations"), DataPaths::path(DataPaths::Translations)));