From: Norbert Moutarde Date: Wed, 3 Jun 2015 07:52:12 +0000 (+0200) Subject: box to debug when button was deleted X-Git-Url: https://git.nothing2do.fr/?a=commitdiff_plain;h=198dafa59078830a98d979d3ac1260ee5ac3e408;p=diary-mobile.git box to debug when button was deleted --- diff --git a/mainwindow.cpp b/mainwindow.cpp index 5c1a7a5..44cef52 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -751,6 +751,7 @@ void MainWindow::editDB(const QString & a, const QString & b){ if((tmpkeyword=="")||(tmplabel=="")||(tmpaction=="")){ remove(a, keyword, label, action); + if(deb)QMessageBox::information(this, trUtf8("EditDB", "title of box to say a button was deleted"), trUtf8("button was deleted", "text to say button was deleted")); return; } exec(QList({conf->value(QString("update")+a).toString(), tmpkeyword, tmplabel, tmpaction, b}));