diff options
| author | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-11-07 22:18:55 -0600 |
|---|---|---|
| committer | Jeremy Rimpo <jeremy.rimpo@servermonkey.com> | 2017-11-07 22:18:55 -0600 |
| commit | 8d5c67296f7e8b87a8feb70e32c3a89713f80fbe (patch) | |
| tree | 7bf712546f346d27d8ccbd909a45fa104c5a7b3c | |
| parent | 4cd09a2f3b25c1af5939f5de0153b1438241a874 (diff) | |
Forcing the progress window to resize seems to hang the extraction process
| -rw-r--r-- | src/installationmanager.cpp | 7 |
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);
+ }
}
}
|
