#6037 Fix broken override in ScreenSetupView
This commit is contained in:
parent
b0c80b419a
commit
cc2f1146ea
|
@ -38,7 +38,7 @@ ScreenSetupView::ScreenSetupView(QWidget* parent) :
|
|||
verticalHeader()->hide();
|
||||
}
|
||||
|
||||
void ScreenSetupView::setModel(ScreenSetupModel* model)
|
||||
void ScreenSetupView::setModel(QAbstractItemModel* model)
|
||||
{
|
||||
QTableView::setModel(model);
|
||||
setTableSize();
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue