From 52c719697a3a46d48fa618d68b84d7d6bd7c524c Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 27 Aug 2011 21:38:57 +0000 Subject: 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 --- kget/transfer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kget') 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 ); -- cgit v1.2.1