Skip to content
Permalink
Browse files

Fix for #8860, (followup 65200e3)

- Hide background of tool button's menu button on Ubuntu
  • Loading branch information
dakcarto committed Oct 17, 2013
1 parent 65200e3 commit 176db460c19a929ac29d6011989d1a0f94c12cc9
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/gui/qgsmessagebar.cpp
@@ -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 ) );

0 comments on commit 176db46

Please sign in to comment.
You can’t perform that action at this time.