diff ui/installwrapper.cpp @ 1082:a12e6172d82c

Extend logging to all choices and SW updates.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 11 Sep 2014 12:05:59 +0200
parents 317ee9dc4684
children b8fb6bf7f980
line wrap: on
line diff
--- a/ui/installwrapper.cpp	Thu Sep 11 12:05:24 2014 +0200
+++ b/ui/installwrapper.cpp	Thu Sep 11 12:05:59 2014 +0200
@@ -44,12 +44,13 @@
     }
 
     foreach (const QString &b64data, mChoices) {
-       if (choicesFile->write(b64data.toLatin1()) == -1) {
-           return false;
-       }
-       if (choicesFile->write("\n") == -1) {
-           return false;
-       }
+        syslog_info_printf ("Selected certificate: %s\n", b64data.toLatin1().constData());
+        if (choicesFile->write(b64data.toLatin1()) == -1) {
+            return false;
+        }
+        if (choicesFile->write("\n") == -1) {
+            return false;
+        }
     }
 
     choicesFile->close();

http://wald.intevation.org/projects/trustbridge/