SAMPLE build for testing.

This commit is contained in:
Martin Rotter 2017-09-14 08:45:58 +02:00
parent 72337653c6
commit 3671ab7b35

View file

@ -357,18 +357,24 @@ void Application::onSaveState(QSessionManager& manager) {
}
void Application::onAboutToQuit() {
/*
eliminateFirstRun();
eliminateFirstRun(APP_VERSION);
#if defined(USE_WEBENGINE)
AdBlockManager::instance()->save();
#endif
// Make sure that we obtain close lock BEFORE even trying to quit the application.
const bool locked_safely = feedUpdateLock()->tryLock(4 * CLOSE_LOCK_TIMEOUT);
processEvents();
qDebug("Cleaning up resources and saving application state.");
#if defined(Q_OS_WIN)
system()->removeTrolltechJunkRegistryKeys();
#endif
qApp->feedReader()->quit();
database()->saveDatabase();
@ -402,6 +408,7 @@ void Application::onAboutToQuit() {
qWarning("New application instance was not started successfully.");
}
}
*/
}
void Application::restart() {