#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();
|
verticalHeader()->hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScreenSetupView::setModel(ScreenSetupModel* model)
|
void ScreenSetupView::setModel(QAbstractItemModel* model)
|
||||||
{
|
{
|
||||||
QTableView::setModel(model);
|
QTableView::setModel(model);
|
||||||
setTableSize();
|
setTableSize();
|
||||||
|
|
|
@ -39,7 +39,7 @@ class ScreenSetupView : public QTableView
|
||||||
ScreenSetupView(QWidget* parent);
|
ScreenSetupView(QWidget* parent);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
void setModel(ScreenSetupModel* model);
|
void setModel(QAbstractItemModel* model) override;
|
||||||
ScreenSetupModel* model() const;
|
ScreenSetupModel* model() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
Loading…
Reference in New Issue