diff --git a/src/gui/src/ScreenSetupView.cpp b/src/gui/src/ScreenSetupView.cpp index a06dc269..f26d9700 100644 --- a/src/gui/src/ScreenSetupView.cpp +++ b/src/gui/src/ScreenSetupView.cpp @@ -38,7 +38,7 @@ ScreenSetupView::ScreenSetupView(QWidget* parent) : verticalHeader()->hide(); } -void ScreenSetupView::setModel(ScreenSetupModel* model) +void ScreenSetupView::setModel(QAbstractItemModel* model) { QTableView::setModel(model); setTableSize(); diff --git a/src/gui/src/ScreenSetupView.h b/src/gui/src/ScreenSetupView.h index a4f04923..38eae2a4 100644 --- a/src/gui/src/ScreenSetupView.h +++ b/src/gui/src/ScreenSetupView.h @@ -39,7 +39,7 @@ class ScreenSetupView : public QTableView ScreenSetupView(QWidget* parent); public: - void setModel(ScreenSetupModel* model); + void setModel(QAbstractItemModel* model) override; ScreenSetupModel* model() const; protected: