Fix errant logical-or in favor of bitwise-or.

Caught by Coverity, CID 1340568.
wilder-5.14
Michael Pyne 10 years ago
parent 66f97694fc
commit 4c16c5d533
  1. 2
      appmenu/menuimporter.cpp

@ -138,7 +138,7 @@ void MenuImporter::RegisterWindow(WId id, const QDBusObjectPath& path)
NET::WindowTypes mask = NET::AllTypesMask;
// Menu can try to register, right click in gimp for exemple
if (info.windowType(mask) & (NET::Menu|NET::DropdownMenu||NET::PopupMenu)) {
if (info.windowType(mask) & (NET::Menu|NET::DropdownMenu|NET::PopupMenu)) {
return;
}

Loading…
Cancel
Save