summaryrefslogtreecommitdiff
path: root/client-qt/udm-client-qt/downloads_model.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2016-01-03 20:58:58 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2016-01-03 20:58:58 +0300
commit454ed688836c9de52039b84ea381ffd22890a6e8 (patch)
treedcbef23ab421b103cab60d04c4b36698ffeb35a4 /client-qt/udm-client-qt/downloads_model.cpp
parent1a345f933f5b86fb297463863bd82334c94592c7 (diff)
client-qt:
typo fix very basic implementation of download state changes handler
Diffstat (limited to 'client-qt/udm-client-qt/downloads_model.cpp')
-rw-r--r--client-qt/udm-client-qt/downloads_model.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/client-qt/udm-client-qt/downloads_model.cpp b/client-qt/udm-client-qt/downloads_model.cpp
index f5d8817..5789151 100644
--- a/client-qt/udm-client-qt/downloads_model.cpp
+++ b/client-qt/udm-client-qt/downloads_model.cpp
@@ -55,7 +55,6 @@ QVariant downloads_model::data(const QModelIndex &index, int role) const
case 2:
return (qint64)downloads[index.row()].downloaded();
break;
- //
case 3:
if(downloads[index.row()].size())
return (qint64)((double)downloads[index.row()].downloaded() / (double)downloads[index.row()].size()) * 100.0;
@@ -70,7 +69,7 @@ QVariant downloads_model::data(const QModelIndex &index, int role) const
return tr("Stopped");
break;
case 1:
- return tr("Stopped");
+ return tr("Started");
break;
//TODO: handle module defined states
default: