Speedup persistent data

Conflicts:
	src/mainwindow.cpp
	src/mainwindow.h
This commit is contained in:
Ivan Sorokin
2014-11-01 20:41:30 +03:00
parent f2c6981711
commit 70a114eb13
4 changed files with 48 additions and 64 deletions

View File

@@ -143,6 +143,7 @@ protected slots:
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
void handleUpdateCheckFinished(bool update_available, QString new_version, bool invokedByUser);
#endif
void savePersistentData();
protected:
void closeEvent(QCloseEvent *);
@@ -216,6 +217,7 @@ private:
bool has_python;
#endif
QMenu* toolbarMenu;
QTimer persistentDataSaver;
private slots:
void on_actionSearch_engine_triggered();