summaryrefslogtreecommitdiff
path: root/src/downloadlistwidget.cpp
diff options
context:
space:
mode:
authorAl12rs <gabriel.cortesi@outlook.com>2018-12-22 01:55:52 +0100
committerAl12rs <gabriel.cortesi@outlook.com>2018-12-22 01:55:52 +0100
commit101d656709cc82a763f8f82e2de0c46257a5d5d9 (patch)
treefcc84a836821598c6fd88e9ea491ee03c3cc79ae /src/downloadlistwidget.cpp
parent549db7d3318d8c6479d180fc249ea9b0d6e7b27c (diff)
Removed pixel limit on downloads tab, inclreased character limit to 120.
Diffstat (limited to 'src/downloadlistwidget.cpp')
-rw-r--r--src/downloadlistwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/downloadlistwidget.cpp b/src/downloadlistwidget.cpp
index 34a90534..c62d774c 100644
--- a/src/downloadlistwidget.cpp
+++ b/src/downloadlistwidget.cpp
@@ -120,8 +120,8 @@ void DownloadListWidgetDelegate::paintPendingDownload(int downloadIndex) const
void DownloadListWidgetDelegate::paintRegularDownload(int downloadIndex) const
{
QString name = m_MetaDisplay ? m_Manager->getDisplayName(downloadIndex) : m_Manager->getFileName(downloadIndex);
- if (name.length() > 53) {
- name.truncate(50);
+ if (name.length() > 120) {
+ name.truncate(120);
name.append("...");
}
m_NameLabel->setText(name);