conf->setValue(QString("start"), QVariant("begin"));
conf->setValue(QString("restore"), QVariant("http://www.abc.de/db"));
conf->setValue(QString("db"), QVariant("/data/data/eu.nothing2do.diarymobile/files/db"));
- conf->setValue(QString("selectbuttons"), QVariant("select keyword,label,action from ui order by label;"));
+ conf->setValue(QString("selectbuttons"), QVariant("select keyword,label,action from buttons order by label;"));
conf->setValue(QString("sqlbuttons"), QVariant("INSERT INTO buttons (keyword,label,action) VALUES(?,?,?);"));
conf->setValue(QString("selectraw"), QVariant("select date,texte from raw order by date;"));
conf->setValue(QString("menuback"), QVariant("-menuback"));
void MainWindow::use(const QString & a){
bool ok;
QString use=QInputDialog::getText(this, trUtf8("tmp URL", "Title of box where ask for current type"), trUtf8("Enter string", "Label of box where ask for current type"), QLineEdit::Normal, a, &ok);
- if(!ok){
+ if(ok){
//currenttype=use;
conf->setValue(QString("currenttype"), use);
}