summaryrefslogtreecommitdiffstats
path: root/src/libs/installer
diff options
context:
space:
mode:
authorTim Jenssen <tim.jenssen@digia.com>2013-08-28 12:33:28 +0200
committerNiels Weber <niels.weber@digia.com>2013-09-18 13:28:46 +0200
commitb240c7de4ecc8a742cae2be5901edae1ec7261b1 (patch)
tree6937d4e4ae4ff642ae82c60e2b313bab2c84eab6 /src/libs/installer
parentf8d48bd39c4d2caef1dc189bd3bd95c5f5010780 (diff)
transform progress misscalculations warnings to debugs
Task-number: QTIFW-243 Change-Id: I5314da8ebc41de2e534f320ca3a44603797cfe59 Reviewed-by: Niels Weber <niels.weber@digia.com>
Diffstat (limited to 'src/libs/installer')
-rw-r--r--src/libs/installer/progresscoordinator.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/installer/progresscoordinator.cpp b/src/libs/installer/progresscoordinator.cpp
index 0850b39d0..7d9a68e9f 100644
--- a/src/libs/installer/progresscoordinator.cpp
+++ b/src/libs/installer/progresscoordinator.cpp
@@ -138,7 +138,7 @@ void ProgressCoordinator::partProgressChanged(double fraction)
}
if (qRound(m_currentCompletePercentage) < qRound(newCurrentCompletePercentage)) {
- qWarning("This should not happen!");
+ qDebug("Something is wrong with the calculation of the progress.");
}
m_currentCompletePercentage = newCurrentCompletePercentage;
@@ -171,7 +171,7 @@ void ProgressCoordinator::partProgressChanged(double fraction)
}
if (qRound(m_currentCompletePercentage) > qRound(newCurrentCompletePercentage)) {
- qWarning("This should not happen!");
+ qDebug("Something is wrong with the calculation of the progress.");
}
m_currentCompletePercentage = newCurrentCompletePercentage;