More explicit parenthesis in if condition
--Warnings
This commit is contained in:
parent
ccda10950b
commit
bb317fa2e8
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue