--- src/CMegaMenu.cpp
+++ src/CMegaMenu.cpp
@@ -161,7 +152,8 @@
     }
     if(!isCurrent)
     {
-        option->palette.setBrush(QPalette::Normal, QPalette::Window, QColor(0,0,0,0));
+        option->palette.setBrush(QPalette::Normal, QPalette::Window, Qt::transparent);
+        option->palette.setBrush(QPalette::Normal, QPalette::Button, Qt::transparent);
     }
 
     if (isEnabled() && action->isEnabled() && (!action->menu() || action->menu()->isEnabled()))
