diff options
| author | Krzysztof Starecki <krzysztof.starecki@gmail.com> | 2018-12-30 14:54:28 +0100 |
|---|---|---|
| committer | Krzysztof Starecki <krzysztof.starecki@gmail.com> | 2018-12-30 14:57:05 +0100 |
| commit | ec8dbcbf280bf6b542e9087d562e51757d205299 (patch) | |
| tree | 079eb2df3c639d969a836eaf7b63c61d846f67f7 /src/downloadlist.cpp | |
| parent | 5920dc2cd14ef5dc6e3802939cbe6256ea13848b (diff) | |
Port context menus to new downloadlist
Diffstat (limited to 'src/downloadlist.cpp')
| -rw-r--r-- | src/downloadlist.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/downloadlist.cpp b/src/downloadlist.cpp index 503274e6..a44850cb 100644 --- a/src/downloadlist.cpp +++ b/src/downloadlist.cpp @@ -82,8 +82,10 @@ QVariant DownloadList::data(const QModelIndex &index, int role) const DownloadManager::DownloadState state = m_Manager->getState(index.row());
switch (state) {
case DownloadManager::STATE_INSTALLED : return tr("Installed");
+ case DownloadManager::STATE_UNINSTALLED : return tr("Uninstalled");
case DownloadManager::STATE_READY : return tr("Downloaded");
case DownloadManager::STATE_DOWNLOADING : return m_Manager->getProgress(index.row()).second;
+ case DownloadManager::STATE_PAUSED : return tr("Paused");
default : return state;
}
} else {
|
