summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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();
}