debugging

This commit is contained in:
moerp
2021-05-28 17:53:57 +02:00
parent 1099d16455
commit 0bded9e4a2
2 changed files with 9 additions and 8 deletions

View File

@ -18,10 +18,11 @@ int SQMTableModel::columnCount(const QModelIndex & /*parent*/) const {
QVariant SQMTableModel::data(const QModelIndex &index, int role) const {
if (role == Qt::DisplayRole) {
int row = index.row();
int col = index.column();
// int row = index.row();
// int col = index.column();
return sqmMatrix.at(col).at(row);
// return sqmMatrix.at(col).at(row);
return "test";
}
return QVariant();
}