Qt6 migration
This commit is contained in:
parent
87553b2554
commit
423043d431
19 changed files with 64 additions and 87 deletions
|
|
@ -298,9 +298,9 @@ QVariant ColumnTableModel::data(const QModelIndex &index, int role) const
|
|||
QVariant v;
|
||||
int col = index.column();
|
||||
if (col == NullCol || col >= colCount)
|
||||
v = Qt::AlignCenter + Qt::AlignVCenter;
|
||||
v = int(Qt::AlignCenter | Qt::AlignVCenter);
|
||||
else
|
||||
v = Qt::AlignLeft + Qt::AlignVCenter;
|
||||
v = int(Qt::AlignLeft | Qt::AlignVCenter);
|
||||
return v;
|
||||
}
|
||||
return BaseTableModel::data(index, role);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue