summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNiels Weber <niels.weber@digia.com>2013-05-30 09:36:30 +0200
committerTim Jenssen <tim.jenssen@digia.com>2013-05-30 09:42:54 +0200
commitf2212ccfc42ccfe3c4c05d026e739444f960bf4c (patch)
tree2fc6832b471e99a4de24eb3b4e943b7fd266122b /src
parent5c68077d847c59393f49d19cffbe31e0a7f31a8a (diff)
Change two fatals to warnings.
We don't want the installer to crash on the user. Change-Id: Iec932583615573ed41e15def6506a9e475b4dabd Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Diffstat (limited to 'src')
-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 4c4a711c7..0850b39d0 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)) {
- qFatal("This should not happen!");
+ qWarning("This should not happen!");
}
m_currentCompletePercentage = newCurrentCompletePercentage;
@@ -171,7 +171,7 @@ void ProgressCoordinator::partProgressChanged(double fraction)
}
if (qRound(m_currentCompletePercentage) > qRound(newCurrentCompletePercentage)) {
- qFatal("This should not happen!");
+ qWarning("This should not happen!");
}
m_currentCompletePercentage = newCurrentCompletePercentage;