summaryrefslogtreecommitdiffstats
path: root/kget
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-27 21:38:57 +0000
commit52c719697a3a46d48fa618d68b84d7d6bd7c524c (patch)
tree410544d599787f6a602d2069f2ab31c90a5c4585 /kget
parentd7c69d672cd5b014eac2349c4f52e042ffa7e1ab (diff)
downloadtdenetwork-52c719697a3a46d48fa618d68b84d7d6bd7c524c.tar.gz
tdenetwork-52c719697a3a46d48fa618d68b84d7d6bd7c524c.zip
Fix a number of accidental tqStatus string conversions
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1249829 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kget')
-rw-r--r--kget/transfer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kget/transfer.cpp b/kget/transfer.cpp
index e06cdfc5..9303a9a2 100644
--- a/kget/transfer.cpp
+++ b/kget/transfer.cpp
@@ -787,7 +787,7 @@ bool Transfer::read(KSimpleConfig * config, int id)
}
mode = (TransferMode) config->readNumEntry("Mode", MD_TQUEUED);
- status = (TransfertqStatus) config->readNumEntry("tqStatus", ST_RUNNING);
+ status = (TransfertqStatus) config->readNumEntry("Status", ST_RUNNING);
startTime = config->readDateTimeEntry("ScheduledTime");
canResume = config->readBoolEntry("CanResume", true);
totalSize = config->readUnsignedNum64Entry("TotalSize", 0);
@@ -815,7 +815,7 @@ void Transfer::write(KSimpleConfig * config, int id)
config->writePathEntry("Source", src.url());
config->writePathEntry("Dest", dest.url());
config->writeEntry("Mode", mode);
- config->writeEntry("tqStatus", status);
+ config->writeEntry("Status", status);
config->writeEntry("CanResume", canResume);
config->writeEntry("TotalSize", totalSize );
config->writeEntry("ProcessedSize", processedSize );