summaryrefslogtreecommitdiffstats
path: root/src/libs/installer
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2014-12-02 15:37:11 +0100
committerNiels Weber <niels.weber@theqtcompany.com>2014-12-02 15:45:00 +0100
commitbea947e1e360c6e3dedfd503a17fc4e0879ebfb0 (patch)
tree68c88fc3b5b52f0a37966679886a7c1df0de559b /src/libs/installer
parentcd9782fd09420af12c5127468bdcb214efc633fe (diff)
Improve message, also fix spelling error
Change-Id: I9a1b66eb0df9fd480af6cb9bdcdde584eec2d14b Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
Diffstat (limited to 'src/libs/installer')
-rw-r--r--src/libs/installer/progresscoordinator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libs/installer/progresscoordinator.cpp b/src/libs/installer/progresscoordinator.cpp
index 38c0ddb33..8fa205376 100644
--- a/src/libs/installer/progresscoordinator.cpp
+++ b/src/libs/installer/progresscoordinator.cpp
@@ -140,11 +140,11 @@ void ProgressCoordinator::partProgressChanged(double fraction)
//Q_ASSERT(newCurrentCompletePercentage >= 0);
//Q_ASSERT(newCurrentCompletePercentage <= 100);
if (newCurrentCompletePercentage < 0) {
- qDebug() << newCurrentCompletePercentage << "is smaller then 0 - this should happen max once";
+ qDebug() << newCurrentCompletePercentage << "is smaller than 0 - this should not happen more than once";
newCurrentCompletePercentage = 0;
}
if (newCurrentCompletePercentage > 100) {
- qDebug() << newCurrentCompletePercentage << "is bigger then 100 - this should happen max once";
+ qDebug() << newCurrentCompletePercentage << "is bigger than 100 - this should not happen more than once";
newCurrentCompletePercentage = 100;
}
@@ -172,12 +172,12 @@ void ProgressCoordinator::partProgressChanged(double fraction)
//Q_ASSERT(newCurrentCompletePercentage >= 0);
//Q_ASSERT(newCurrentCompletePercentage <= 100);
if (newCurrentCompletePercentage < 0) {
- qDebug() << newCurrentCompletePercentage << "is smaller then 0 - this should happen max once";
+ qDebug() << newCurrentCompletePercentage << "is smaller than 0 - this should not happen more than once";
newCurrentCompletePercentage = 0;
}
if (newCurrentCompletePercentage > 100) {
- qDebug() << newCurrentCompletePercentage << "is bigger then 100 - this should happen max once";
+ qDebug() << newCurrentCompletePercentage << "is bigger than 100 - this should not happen more than once";
newCurrentCompletePercentage = 100;
}