Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 89 → Rev 90

/trunk/DBViewer/mainwindow.cpp
44,7 → 44,7
 
result = file.open(QIODevice::ReadOnly);
if (result) {
model_str = QString(file.readAll());
model_str = QString(tr(file.readAll()));
}
 
setupModelData(model_str.split(QString("\n")), rootItem1);
106,8 → 106,9
itm_tmp->setCheckState(0,Qt::Checked);
}
else itm_tmp->setCheckState(0,Qt::Unchecked);
 
 
itm_tmp->setText(1, QString(columnData.at(2).toString()));
itm_tmp->setText(2, QVariant(number).toString()); // íîìåð ñòðîêè â ôàéëå-ìîäåëè îòîáðàæåíèÿ
itm_tmp->setText(3, QVariant(indentations.size()).toString());
}
 
number++;