summaryrefslogtreecommitdiffstats
path: root/libktorrent/torrent
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-03-19 22:41:22 -0500
committerSlávek Banko <[email protected]>2012-06-06 03:48:50 +0200
commit8eebc7dfaa8542da755ba9bc1593bb92e88f6cf9 (patch)
treec7bd791ec41980cad46595378a2d296ba7b930e2 /libktorrent/torrent
parent66bf173caa7437be9c90b8654e925d5b3aee3b57 (diff)
downloadktorrent-8eebc7dfaa8542da755ba9bc1593bb92e88f6cf9.tar.gz
ktorrent-8eebc7dfaa8542da755ba9bc1593bb92e88f6cf9.zip
Fix inadvertent "TQ" changes.
(cherry picked from commit 445a515241430cef8e8458d782649fa0e8593a4c)
Diffstat (limited to 'libktorrent/torrent')
-rw-r--r--libktorrent/torrent/queuemanager.h4
-rw-r--r--libktorrent/torrent/torrentcontrol.cpp6
2 files changed, 5 insertions, 5 deletions
diff --git a/libktorrent/torrent/queuemanager.h b/libktorrent/torrent/queuemanager.h
index 9771f53..27e255c 100644
--- a/libktorrent/torrent/queuemanager.h
+++ b/libktorrent/torrent/queuemanager.h
@@ -18,8 +18,8 @@
* Free Software Foundation, Inc., *
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
***************************************************************************/
-#ifndef TQUEUEMANAGER_H
-#define TQUEUEMANAGER_H
+#ifndef QUEUEMANAGER_H
+#define QUEUEMANAGER_H
#include <set>
#include <tqobject.h>
diff --git a/libktorrent/torrent/torrentcontrol.cpp b/libktorrent/torrent/torrentcontrol.cpp
index 3e22ec1..3cedfe9 100644
--- a/libktorrent/torrent/torrentcontrol.cpp
+++ b/libktorrent/torrent/torrentcontrol.cpp
@@ -932,7 +932,7 @@ namespace bt
else if (!stats.started)
stats.status = kt::NOT_STARTED;
else if(!stats.running && !stats.user_controlled)
- stats.status = kt::TQUEUED;
+ stats.status = kt::QUEUED;
else if (!stats.running && stats.completed && (overMaxRatio() || overMaxSeedTime()))
stats.status = kt::SEEDING_COMPLETE;
else if (!stats.running && stats.completed)
@@ -1301,7 +1301,7 @@ namespace bt
istats.priority = p;
stats.user_controlled = p == 0 ? true : false;
if(p)
- stats.status = kt::TQUEUED;
+ stats.status = kt::QUEUED;
else
updateStatusMsg();
@@ -1378,7 +1378,7 @@ namespace bt
return i18n("Error: ") + getShortErrorMessage();
case kt::ALLOCATING_DISKSPACE:
return i18n("Allocating diskspace");
- case kt::TQUEUED:
+ case kt::QUEUED:
return i18n("Queued");
case kt::CHECKING_DATA:
return i18n("Checking data");