summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/simplewidgets.cpp
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2017-06-10 23:02:23 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-06-11 15:57:08 -0700
commit16efcf2af8b4c7cb8f2773470bcff072d1059718 (patch)
treeecfa4d689613e2dea423f3bd1c2149da0c75aab0 /desktop-widgets/simplewidgets.cpp
parentfb3ce8554cb63f5939139fbdaca6ac0cf264b55a (diff)
downloadsubsurface-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.cpp2
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();
}