Loading elements collections doesn't freeze gui anymore.

This commit is contained in:
Claveau Joshua
2020-01-19 11:53:40 +01:00
parent ed2e72e995
commit f297e28b64
7 changed files with 64 additions and 52 deletions

View File

@@ -79,13 +79,15 @@ class ElementsCollectionWidget : public QWidget
public slots:
void reload();
void loadingFinished();
private:
void locationWasSaved(const ElementsLocation& location);
private:
ElementsCollectionModel *m_model;
ElementsCollectionModel *m_model = nullptr;
ElementsCollectionModel *m_new_model = nullptr;
QLineEdit *m_search_field;
QTimer m_search_timer;
ElementsTreeView *m_tree_view;