diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-06-10 23:02:23 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-06-11 15:57:08 -0700 |
commit | 16efcf2af8b4c7cb8f2773470bcff072d1059718 (patch) | |
tree | ecfa4d689613e2dea423f3bd1c2149da0c75aab0 /desktop-widgets/simplewidgets.cpp | |
parent | fb3ce8554cb63f5939139fbdaca6ac0cf264b55a (diff) | |
download | subsurface-16efcf2af8b4c7cb8f2773470bcff072d1059718.tar.gz |
simplewidgets.cpp: silence warning about parentheses
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/simplewidgets.cpp')
-rw-r--r-- | desktop-widgets/simplewidgets.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/simplewidgets.cpp b/desktop-widgets/simplewidgets.cpp index e6bbe87d9..ab1fcaabb 100644 --- a/desktop-widgets/simplewidgets.cpp +++ b/desktop-widgets/simplewidgets.cpp @@ -425,7 +425,7 @@ void ShiftImageTimesDialog::timeEditChanged(const QTime &time) void ShiftImageTimesDialog::timeEditChanged() { - if (m_amount > 0 == ui.backwards->isChecked()) + if ((m_amount > 0) == ui.backwards->isChecked()) m_amount *= -1; if (m_amount) updateInvalid(); } |