[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/tools/converter
From: Nicolas Goutte <nicolasg () snafu ! de>
Date: 2004-11-21 14:26:02
Message-ID: 20041121142602.1618816F17 () office ! kde ! org
[Download RAW message or body]
CVS commit by goutte:
Make a conversion failure (a little) more visible
M +9 -1 koconverter.cc 1.15
--- koffice/tools/converter/koconverter.cc #1.14:1.15
@@ -162,5 +162,13 @@ int main( int argc, char **argv )
bool ok = convert( uIn, inputMimetype->name(), uOut, outputMimetype->name(), batch );
QApplication::restoreOverrideCursor();
- return ok ? 0 : 2;
+ if ( ok )
+ {
+ return 0;
+ }
+ else
+ {
+ kdError() << i18n("*** The conversion failed! ***") << endl;
+ return 2;
+ }
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic