Subversion Repositories OpenInventory

Compare Revisions

Ignore whitespace Rev 148 → Rev 149

/trunk/DBViewer/mainwindow.cpp
82,6 → 82,7
{
delete sql_mogel;
delete ui;
delete model_for_ListModelsTable;
}
 
void MainWindow::changeEvent(QEvent *e)
810,7 → 811,7
 
 
void MainWindow::initListModelsTablle(){
model_for_ListModelsTable = new QSqlTableModel(this);
model_for_ListModelsTable = new QSqlTableModel();
 
model_for_ListModelsTable->setTable(tr("ListOfModels"));
// model_for_ListModelsTable->setEditStrategy(QSqlTableModel::OnFieldChange);