summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Rimpo <jeremy.rimpo@servermonkey.com>2017-11-07 22:18:55 -0600
committerJeremy Rimpo <jeremy.rimpo@servermonkey.com>2017-11-07 22:18:55 -0600
commit8d5c67296f7e8b87a8feb70e32c3a89713f80fbe (patch)
tree7bf712546f346d27d8ccbd909a45fa104c5a7b3c /src
parent4cd09a2f3b25c1af5939f5de0153b1438241a874 (diff)
Forcing the progress window to resize seems to hang the extraction process
Diffstat (limited to 'src')
-rw-r--r--src/installationmanager.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/installationmanager.cpp b/src/installationmanager.cpp
index 9be4cdd9..d2d131fd 100644
--- a/src/installationmanager.cpp
+++ b/src/installationmanager.cpp
@@ -420,7 +420,12 @@ void InstallationManager::updateProgress(float percentage)
void InstallationManager::updateProgressFile(QString const &fileName)
{
if (m_InstallationProgress != nullptr) {
- m_InstallationProgress->setLabelText(fileName);
+ if (fileName.size() > 30) {
+ m_InstallationProgress->setLabelText("..." + fileName.right(27));
+ }
+ else {
+ m_InstallationProgress->setLabelText(fileName);
+ }
}
}