From bb317fa2e80580a413eb8a828aaf17194b7e2c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Thu, 20 Dec 2012 16:41:23 +0100 Subject: [PATCH] More explicit parenthesis in if condition --Warnings --- effects/translucency/translucency.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/effects/translucency/translucency.cpp b/effects/translucency/translucency.cpp index e78603d773..6167b679bc 100644 --- a/effects/translucency/translucency.cpp +++ b/effects/translucency/translucency.cpp @@ -164,10 +164,10 @@ void TranslucencyEffect::prePaintWindow(EffectWindow* w, WindowPrePaintData& dat else if (m_activeDialogs && w->isDialog()) { data.setTranslucent(); } - else if (m_activeMenus && (dropdownmenus != 1.0 && w->isDropdownMenu()) + else if (m_activeMenus && ((dropdownmenus != 1.0 && w->isDropdownMenu()) || (popupmenus != 1.0 && w->isPopupMenu()) || (tornoffmenus != 1.0 && w->isMenu()) - || (comboboxpopups != 1.0 && w->isComboBox())) { + || (comboboxpopups != 1.0 && w->isComboBox()))) { data.setTranslucent(); }