filesystem watching optimization

This commit is contained in:
2021-07-01 22:25:27 +03:00
parent 1b57926c32
commit 6d88a57712
2 changed files with 32 additions and 14 deletions

View File

@@ -28,6 +28,7 @@ public:
protected:
void changeEvent(QEvent * e);
void timerEvent(QTimerEvent * e);
void createTree(QTreeWidgetItem * ti, const QString & dir, bool proc_events = true);
void createProjectTree(void * p);
void projectNameChanged();
@@ -42,11 +43,12 @@ protected:
void cleanMappedItems();
bool in_proc, need_rebuild;
int timer_fs_changed = 0;
ExtensionSystem::IPlugin * proj_plug;
QMenu popup_menu;
QList<QAction*> this_actions;
QMap<QString, QTreeWidgetItem*> item_map;
QSet<QString> last_expanded;
QSet<QString> last_expanded, fs_changed;
FilterDialog filter_dialog;
FilterDialog::Filter cur_filter;
QElapsedTimer tm;