diff options
author | Timothy Pearson <[email protected]> | 2013-11-02 23:06:22 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-11-02 23:06:22 -0500 |
commit | 7dc822e55421288a0c8a67ea8e85df5c5e50dace (patch) | |
tree | 0be36890782d5f922bb38eae7dffbc9b513276bc /kget/tdemainwidget.cpp | |
parent | 74807331b7343f8fbb6011b61f50e57bb6894ab6 (diff) | |
download | tdenetwork-7dc822e55421288a0c8a67ea8e85df5c5e50dace.tar.gz tdenetwork-7dc822e55421288a0c8a67ea8e85df5c5e50dace.zip |
Remove botched transfer slave threading code
This largely resolves Bug 1670
Diffstat (limited to 'kget/tdemainwidget.cpp')
-rw-r--r-- | kget/tdemainwidget.cpp | 8 |
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; |