The table inheritance works mostly
This commit is contained in:
parent
ccd88d0578
commit
2ff9577d41
22 changed files with 473 additions and 145 deletions
|
|
@ -38,9 +38,9 @@ public:
|
|||
virtual Oid getType(int column) const override;
|
||||
virtual QVariant getData(const QModelIndex &index) const override;
|
||||
|
||||
RowItem rowItem(int row) const
|
||||
RowItem rowItem(const QModelIndex &index) const
|
||||
{
|
||||
return databases.at(row).database;
|
||||
return databases.at(index.row()).database;
|
||||
}
|
||||
protected:
|
||||
virtual QVariant getDataMeaning(const QModelIndex &index) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue