Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
1081:edbf5e5e88f4 | 1082:a12e6172d82c |
---|---|
42 if (!choicesFile->open()) { | 42 if (!choicesFile->open()) { |
43 return false; | 43 return false; |
44 } | 44 } |
45 | 45 |
46 foreach (const QString &b64data, mChoices) { | 46 foreach (const QString &b64data, mChoices) { |
47 if (choicesFile->write(b64data.toLatin1()) == -1) { | 47 syslog_info_printf ("Selected certificate: %s\n", b64data.toLatin1().constData()); |
48 return false; | 48 if (choicesFile->write(b64data.toLatin1()) == -1) { |
49 } | 49 return false; |
50 if (choicesFile->write("\n") == -1) { | 50 } |
51 return false; | 51 if (choicesFile->write("\n") == -1) { |
52 } | 52 return false; |
53 } | |
53 } | 54 } |
54 | 55 |
55 choicesFile->close(); | 56 choicesFile->close(); |
56 | 57 |
57 return true; | 58 return true; |