Caption menu style fix
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user