comparison ui/listupdatedialog.cpp @ 129:39b7930fbca9

Print debug output also on success
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 24 Mar 2014 10:18:46 +0000
parents 95d35ec93bbe
children 252ffe6e27fd
comparison
equal deleted inserted replaced
128:95d35ec93bbe 129:39b7930fbca9
139 return; 139 return;
140 } 140 }
141 141
142 if (installerProcess.exitCode() == 0) { 142 if (installerProcess.exitCode() == 0) {
143 qDebug() << "Success!"; 143 qDebug() << "Success!";
144 qDebug() << "output: " << installerProcess.readAllStandardOutput();
144 } else { 145 } else {
145 /* TODO handle errors defined by errorcodes.h */ 146 /* TODO handle errors defined by errorcodes.h */
146 qDebug() << "Installer Process returned: " << installerProcess.exitCode(); 147 qDebug() << "Installer Process returned: " << installerProcess.exitCode();
147 qDebug() << "output: " << installerProcess.readAllStandardOutput(); 148 qDebug() << "output: " << installerProcess.readAllStandardOutput();
148 return; 149 return;

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