Skip to content

Commit

Permalink
mainmenu: Remove setting base style in StyleChange
Browse files Browse the repository at this point in the history
Reverting the @125dea7a1325bd4d8980181a9ca36407bc6e9e9a as it's causing
graphical problems (invisible category texts, search edit not shown or
transparent...) when changing LXQt theme and/or widget style and/or menu
file.
  • Loading branch information
palinek committed Sep 9, 2016
1 parent a1ed2b3 commit 5cda400
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions plugin-mainmenu/lxqtmainmenu.cpp
Expand Up @@ -454,8 +454,6 @@ bool LXQtMainMenu::eventFilter(QObject *obj, QEvent *event)
// the application is given a new QStyle
if(event->type() == QEvent::StyleChange)
{
// reset proxy style for the menus so they can apply the new styles
mTopMenuStyle.setBaseStyle(NULL);
setMenuFontSize();
setButtonIcon();
}
Expand Down

0 comments on commit 5cda400

Please sign in to comment.