Доброго времени суток.Есть кусок кода:Код:int a(lectt[ui->treeWidget->currentItem()->text(0)]); queryClear = new QSqlQuery(db); queryClear->exec("UPDATE lections " "SET lectionname = '"+ui->lectionNameEdit->text()+"' " "WHERE id_lections = '"+a+"' "); qDebug()
|