[Uml-devel] KDE/kdesdk/umbrello/umbrello/codeimport
Ralf Habacker
ralf.habacker at gmail.com
Tue Jan 10 14:34:38 UTC 2012
SVN commit 1272957 by habacker:
Return False in case the preprocessor returns error on exit.
M +5 -0 idlimport.cpp
--- trunk/KDE/kdesdk/umbrello/umbrello/codeimport/idlimport.cpp #1272956:1272957
@@ -178,6 +178,11 @@
uError() << "could not run preprocessor";
return false;
}
+ int exitCode = p.exitCode();
+ if (exitCode != 0) {
+ uError() << "preprocessor returned error" << exitCode;
+ return false;
+ }
QByteArray out = p.readAllStandardOutput();
QTextStream data(out);
More information about the umbrello-devel
mailing list