removed some unused code
This commit is contained in:
parent
c603c1dea3
commit
17c33bce7e
|
@ -54,21 +54,6 @@ EditWindow::EditWindow(int idSocio, QWidget* parent) : QMainWindow(parent), ui(n
|
|||
checkAbilitaQuestionario->setChecked( query.value(query.record().indexOf("abilitaQuestionario")).toBool() );
|
||||
}
|
||||
|
||||
/*
|
||||
void EditWindow::on_buttonCerca_clicked() {
|
||||
QLineEdit* lineCognome = this->findChild<QLineEdit*>("lineCognome");
|
||||
|
||||
|
||||
|
||||
if ( ! query.exec() ) { setStatus(Ui::ERROR, "query error"); qDebug() << query.lastQuery(); return; }
|
||||
if ( query.size() == 0) { setStatus(Ui::INFO, "no results found"); return; }
|
||||
|
||||
setStatus(Ui::INFO, QString("%1 results found").arg(query.size()));
|
||||
query.first();
|
||||
showFound();
|
||||
}
|
||||
*/
|
||||
|
||||
void EditWindow::on_buttonSalva_clicked() {
|
||||
|
||||
query.prepare("UPDATE socio \
|
||||
|
|
Loading…
Reference in New Issue