summaryrefslogtreecommitdiffstats
path: root/kget/tdemainwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kget/tdemainwidget.cpp')
-rw-r--r--kget/tdemainwidget.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kget/tdemainwidget.cpp b/kget/tdemainwidget.cpp
index a7d51617..2f7e0a26 100644
--- a/kget/tdemainwidget.cpp
+++ b/kget/tdemainwidget.cpp
@@ -1412,15 +1412,13 @@ void TDEMainWidget::slotAnimTimeout()
//sDebugIn << endl;
#endif
- bool isTransfer;
-
animCounter++;
if (animCounter == myTransferList->getPhasesNum()) {
//updateStatusBar();
animCounter = 0;
}
// update status of all items of transferList
- isTransfer = myTransferList->updateStatus(animCounter);
+ myTransferList->updateStatus(animCounter);
//if (this->isVisible()) {
updateStatusBar();
@@ -2221,7 +2219,9 @@ void TDEMainWidget::onlineDisconnect()
}
}
log(i18n("Disconnecting..."));
- system(TQFile::encodeName(ksettings.disconnectCommand));
+ if (system(TQFile::encodeName(ksettings.disconnectCommand)) < 0) {
+ // Error!
+ }
#ifdef _DEBUG
sDebugOut << endl;