[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdeutils/kfloppy
From: Waldo Bastian <bastian () kde ! org>
Date: 2005-03-07 16:47:59
Message-ID: 20050307164759.1286C103CB () office ! kde ! org
[Download RAW message or body]
CVS commit by waba:
Inform the user about failures.
M +10 -2 format.cpp 1.26
--- kdeutils/kfloppy/format.cpp #1.25:1.26
@@ -326,6 +326,14 @@ void FloppyAction::processDone(KProcess
if (p->normalExit())
{
+ if (p->exitStatus() == 0)
+ {
emit status(QString::null,100);
- emit done(this,!p->exitStatus());
+ emit done(this,true);
+ }
+ else
+ {
+ emit status(i18n("%1 terminated with an error.").arg(theProcessName),100);
+ emit done(this,false);
+ }
}
else
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic