From 5fc107cdb253f5266a4f0725fd84b6e1893026b3 Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Sat, 29 Dec 2018 14:23:36 -0600 Subject: Change version to 2.1.7alpha2 --- src/version.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/version.rc b/src/version.rc index 38e68cfa..973665bb 100644 --- a/src/version.rc +++ b/src/version.rc @@ -4,7 +4,7 @@ // Otherwise, if letters are used in VER_FILEVERSION_STR, uses the full MOBase::VersionInfo parser // Otherwise, uses the numbers from VER_FILEVERSION and sets the release type as pre-alpha #define VER_FILEVERSION 2,1,7 -#define VER_FILEVERSION_STR "2.1.7alpha1\0" +#define VER_FILEVERSION_STR "2.1.7alpha2\0" VS_VERSION_INFO VERSIONINFO FILEVERSION VER_FILEVERSION -- cgit v1.3.1 From 87c6b019bc3fa346fc1456b99713d4c1b01cf9cd Mon Sep 17 00:00:00 2001 From: LostDragonist Date: Sat, 29 Dec 2018 14:56:43 -0600 Subject: Fix for download list refreshing, courtesy of bshd --- src/downloadlist.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/downloadlist.cpp b/src/downloadlist.cpp index 1e31973d..f470e57b 100644 --- a/src/downloadlist.cpp +++ b/src/downloadlist.cpp @@ -106,8 +106,7 @@ void DownloadList::update(int row) if (row < 0) { emit endResetModel(); } else if (row < this->rowCount()) { -#pragma message("updating only the one column is a hack") - emit dataChanged(this->index(row, 2, QModelIndex()), this->index(row, 2, QModelIndex())); + emit dataChanged(this->index(row, 0, QModelIndex()), this->index(row, this->columnCount(QModelIndex())-1, QModelIndex())); } else { qCritical("invalid row %d in download list, update failed", row); } -- cgit v1.3.1 From 7f0844bdd498ab3176fc79f24d9217d1c03d7e4c Mon Sep 17 00:00:00 2001 From: Al Date: Sat, 29 Dec 2018 23:52:18 +0100 Subject: Changed name limit to 60 instead of 100 since it was too long --- src/downloadlistwidgetcompact.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/downloadlistwidgetcompact.cpp b/src/downloadlistwidgetcompact.cpp index 644578de..b534b95b 100644 --- a/src/downloadlistwidgetcompact.cpp +++ b/src/downloadlistwidgetcompact.cpp @@ -119,8 +119,8 @@ void DownloadListWidgetCompactDelegate::paintPendingDownload(int downloadIndex) void DownloadListWidgetCompactDelegate::paintRegularDownload(int downloadIndex) const { QString name = m_MetaDisplay ? m_Manager->getDisplayName(downloadIndex) : m_Manager->getFileName(downloadIndex); - if (name.length() > 100) { - name.truncate(100); + if (name.length() > 60) { + name.truncate(60); name.append("..."); } m_NameLabel->setText(name); -- cgit v1.3.1