simplewidgets.cpp: silence warning about parentheses

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2017-06-10 23:02:23 +03:00 committed by Dirk Hohndel
parent fb3ce8554c
commit 16efcf2af8

View file

@ -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();
}