summaryrefslogtreecommitdiffstats
path: root/kget
diff options
context:
space:
mode:
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 );