Subversion Repositories Programming Utils

Compare Revisions

Ignore whitespace Rev 90 → Rev 91

/trunk/TrainDatabase/traintablemodel.cpp
25,7 → 25,7
if (role == Qt::DisplayRole || role == Qt::EditRole) {
TrainRecord* record = this->access->getRecord( row );
if( record == NULL ){
qDebug() << "ERROR: TrainRecord NULL";
qDebug() << "ERROR: TrainRecord NULL. Row " << row;
return QVariant();
}
switch( col ){