Skip to content

Commit

Permalink
Fix for #8860, (followup 65200e3)
Browse files Browse the repository at this point in the history
- Hide background of tool button's menu button on Ubuntu
  • Loading branch information
dakcarto committed Oct 17, 2013
1 parent 65200e3 commit 176db46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gui/qgsmessagebar.cpp
Expand Up @@ -76,7 +76,8 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )
mCloseBtn->setToolTip( tr( "Close" ) );
mCloseBtn->setMinimumWidth( 40 );
mCloseBtn->setStyleSheet(
"QToolButton { background-color: rgba(255, 255, 255, 0); } " );
"QToolButton { background-color: rgba(0, 0, 0, 0); } "
"QToolButton::menu-button { background-color: rgba(0, 0, 0, 0); " );
mCloseBtn->setCursor( Qt::PointingHandCursor );
mCloseBtn->setIcon( QgsApplication::getThemeIcon( "/mIconClose.png" ) );
mCloseBtn->setIconSize( QSize( 18, 18 ) );
Expand Down

0 comments on commit 176db46

Please sign in to comment.