From 16efcf2af8b4c7cb8f2773470bcff072d1059718 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Sat, 10 Jun 2017 23:02:23 +0300 Subject: simplewidgets.cpp: silence warning about parentheses Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- desktop-widgets/simplewidgets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop-widgets') 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(); } -- cgit v1.2.3-70-g09d2