Made search bar in resource browser feel more responsive

This commit is contained in:
Aruki
2017-01-29 08:01:33 -07:00
parent 678ca01fb1
commit 5ac292ebc5
3 changed files with 166 additions and 161 deletions

View File

@@ -18,6 +18,7 @@ class CResourceBrowser : public QDialog
CResourceTableModel *mpModel;
CResourceProxyModel *mpProxyModel;
CVirtualDirectoryModel *mpDirectoryModel;
QTimer mUpdateFilterTimer;
public:
explicit CResourceBrowser(QWidget *pParent = 0);
@@ -31,6 +32,7 @@ public slots:
void OnDirectorySelectionChanged(const QModelIndex& rkNewIndex, const QModelIndex& rkPrevIndex);
void OnDoubleClickResource(QModelIndex Index);
void OnImportPakContentsTxt();
void UpdateFilter();
};
#endif // CRESOURCEBROWSER_H