From 454ed688836c9de52039b84ea381ffd22890a6e8 Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Sun, 3 Jan 2016 20:58:58 +0300 Subject: client-qt: typo fix very basic implementation of download state changes handler --- client-qt/udm-client-qt/downloads_model.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client-qt/udm-client-qt/downloads_model.cpp') 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: -- cgit v1.2.3