Using the new QSortFilterProxyModel subclass of the core for the TableView.

This commit is contained in:
2026-01-12 09:57:44 +01:00
parent 5eee7a4a75
commit bd056a00ce
2 changed files with 7 additions and 1 deletions

View File

@ -16,6 +16,7 @@ QT_END_NAMESPACE
class GenericCore;
class TableModel;
class GeneralSortFilterModel;
class NewItemDialog;
class EditItemDialog;
@ -65,6 +66,7 @@ class MainWindow : public QMainWindow {
// GenericCore* m_core;
unique_ptr<GenericCore> m_core;
shared_ptr<TableModel> m_tableModel;
shared_ptr<GeneralSortFilterModel> m_sortModel;
QUndoStack* m_modelUndoStack;
unique_ptr<QUndoView> m_modelUndoView;