From 8d5c67296f7e8b87a8feb70e32c3a89713f80fbe Mon Sep 17 00:00:00 2001 From: Jeremy Rimpo Date: Tue, 7 Nov 2017 22:18:55 -0600 Subject: Forcing the progress window to resize seems to hang the extraction process --- src/installationmanager.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/installationmanager.cpp') 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); + } } } -- cgit v1.3.1