diff --git a/data/themes/default/style.css b/data/themes/default/style.css index 1598264b9..005cc579d 100644 --- a/data/themes/default/style.css +++ b/data/themes/default/style.css @@ -83,13 +83,11 @@ QMenu::item:selected { color: white; font-weight:bold; background-color: #747474; - margin:3px; } QMenu::item:disabled { color: #747474; background-color: #c9c9c9; - margin:0px; font-size:12px; font-weight: normal; padding: 4px 32px 4px 20px; diff --git a/src/gui/widgets/caption_menu.cpp b/src/gui/widgets/caption_menu.cpp index 8585bb578..e239dc9e7 100644 --- a/src/gui/widgets/caption_menu.cpp +++ b/src/gui/widgets/caption_menu.cpp @@ -58,9 +58,8 @@ void captionMenu::addHelpAction() parent, SLOT( displayHelp() ) ); } else { - QAction* helpAction = new QAction( embed::getIconPixmap("help"), tr("Help (not available)"), NULL); + QAction* helpAction = addAction( embed::getIconPixmap("help"), tr("Help (not available)") ); helpAction->setDisabled(true); - addAction(helpAction); } }