]> git.nothing2do.fr Git - diary-mobile.git/commitdiff
add debug to editbutton
authorNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Fri, 4 Sep 2015 16:13:58 +0000 (18:13 +0200)
committerNorbert Moutarde <norbert.moutarde@nothing2do.eu>
Fri, 4 Sep 2015 16:13:58 +0000 (18:13 +0200)
android/AndroidManifest.xml
diary-mobile.pro
mainwindow.cpp

index 3754b1eed5eec572fc29955fe17dc3bd55e32ce1..53fabf612344ec67d96ab7cdd1035317b194d116 100644 (file)
@@ -34,7 +34,7 @@
             <!-- Splash screen -->
         </activity>
     </application>
-    <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="19"/>
+    <uses-sdk android:minSdkVersion="11" android:targetSdkVersion="20"/>
     <supports-screens android:largeScreens="true" android:normalScreens="true" android:anyDensity="true" android:smallScreens="true"/>
 
     <!-- The following comment will be replaced upon deployment with default permissions based on the dependencies of the application.
index 77d1cc7b8100f5c35393d9b95d635d2e2fce0cc8..fdf5f273cbff5f0aba5cea85fe4ccb1266ca49a2 100644 (file)
@@ -24,7 +24,7 @@ HEADERS  += mainwindow.h \
 #FORMS    += mainwindow.ui
 
 CONFIG += mobility c++11
-MOBILITY = 
+MOBILITY =
 QMAKE_CXXFLAGS += -fpermissive -Wswitch
 TRANSLATIONS = diary-mobile_fr_FR.ts diary-mobile_en_EN.ts
 ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android
index 9830b1eb12109be51697c26a8bcb1aa783188315..b8ebae61b55f39dc1857a5d28b04b185e9597367 100644 (file)
@@ -781,6 +781,7 @@ void MainWindow::editDB(const QString & a, const QString & b){
         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;
         }
+    if(deb)QMessageBox::information(this, trUtf8("EditDB", "title to print new value of button"), QString("keyword="+tmpkeyword+", label="+tmplabel+", action="+tmpaction));
     exec(QList<QString>({conf->value(QString("update")+a).toString(), tmpkeyword, tmplabel, tmpaction, b}));
 
 }