diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 01:04:19 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-13 01:04:19 -0500 |
commit | 008eae43da364c9a910416652cf277c4ef5895c9 (patch) | |
tree | 5f9060ce2395120f3ce327d444b035a6ece978a4 /kget/kmainwidget.cpp | |
parent | 2bc02dc6e21b9f38a76c6733a0931c7ebc944547 (diff) | |
download | tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.tar.gz tdenetwork-008eae43da364c9a910416652cf277c4ef5895c9.zip |
Fix inadvertent "TQ" changes.
Diffstat (limited to 'kget/kmainwidget.cpp')
-rw-r--r-- | kget/kmainwidget.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kget/kmainwidget.cpp b/kget/kmainwidget.cpp index 8c7b63ab..e6bfa2c7 100644 --- a/kget/kmainwidget.cpp +++ b/kget/kmainwidget.cpp @@ -1372,7 +1372,7 @@ void KMainWidget::checkQueue() item = it.current(); isRunning = (item->getStatus() == Transfer::ST_RUNNING) || ((item->getStatus() == Transfer::ST_TRYING)); - isQuequed = (item->getMode() == Transfer::MD_TQUEUED || item->getMode() == Transfer::MD_NEW); + isQuequed = (item->getMode() == Transfer::MD_QUEUED || item->getMode() == Transfer::MD_NEW); if (!isRunning && isQuequed && !ksettings.b_offline) { @@ -1446,7 +1446,7 @@ void KMainWidget::slotTransferTimeout() for (; it.current(); ++it) { item = it.current(); if (item->getMode() == Transfer::MD_SCHEDULED && item->getStartTime() <= TQDateTime::currentDateTime()) { - item->setMode(Transfer::MD_TQUEUED); + item->setMode(Transfer::MD_QUEUED); flag = true; } } @@ -1533,7 +1533,7 @@ void KMainWidget::slotStatusChanged(Transfer * item, int _operation) case Transfer::OP_ABORTED: break; case Transfer::OP_DELAYED: - case Transfer::OP_TQUEUED: + case Transfer::OP_QUEUED: slotUpdateActions(); item->slotUpdateActions(); break; @@ -2082,9 +2082,9 @@ void KMainWidget::slotUpdateActions() m_paDelay->setEnabled(true); switch (item->getMode()) { - case Transfer::MD_TQUEUED: + case Transfer::MD_QUEUED: #ifdef _DEBUG - sDebug << "....................THE MODE IS MD_TQUEUED " << item->getMode() << endl; + sDebug << "....................THE MODE IS MD_QUEUED " << item->getMode() << endl; #endif m_paQueue->setChecked(true); break; |