From b240c7de4ecc8a742cae2be5901edae1ec7261b1 Mon Sep 17 00:00:00 2001 From: Tim Jenssen Date: Wed, 28 Aug 2013 12:33:28 +0200 Subject: transform progress misscalculations warnings to debugs Task-number: QTIFW-243 Change-Id: I5314da8ebc41de2e534f320ca3a44603797cfe59 Reviewed-by: Niels Weber --- src/libs/installer/progresscoordinator.cpp | 4 ++-- 1 file 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; -- cgit v1.2.3