diff --git a/gui/viewmodel/table/LogTableModel.h b/gui/viewmodel/table/LogTableModel.h index 3cc9810..3f31e0f 100644 --- a/gui/viewmodel/table/LogTableModel.h +++ b/gui/viewmodel/table/LogTableModel.h @@ -15,6 +15,19 @@ class LogTableModel : public QAbstractTableModel Q_OBJECT public: + enum ELogColumn : int + { + id, + level, + timestamp, + file, + func, + lineno, + msg, + scope, + threadId, + }; + LogTableModel(LogWarehouse_ptr warehouse); ~LogTableModel() override; @@ -29,19 +42,6 @@ public: int role = Qt::DisplayRole) const override; private: - enum ELogColumn : int - { - id, - level, - timestamp, - file, - func, - lineno, - msg, - scope, - threadId, - }; - QMap _columnMap; LogWarehouse_ptr _warehouse;