summaryrefslogtreecommitdiff
path: root/client-qt/udm-client-qt/downloads_model.cpp
diff options
context:
space:
mode:
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: