#6037 Fix broken override in ScreenSetupView

This commit is contained in:
Andrew Nelless 2017-05-18 00:55:46 +01:00
parent b0c80b419a
commit cc2f1146ea
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ ScreenSetupView::ScreenSetupView(QWidget* parent) :
verticalHeader()->hide();
}
void ScreenSetupView::setModel(ScreenSetupModel* model)
void ScreenSetupView::setModel(QAbstractItemModel* model)
{
QTableView::setModel(model);
setTableSize();

View File

@ -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: