SAMPLE build for testing.
This commit is contained in:
parent
72337653c6
commit
3671ab7b35
1 changed files with 30 additions and 23 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue