Skip to content

Commit

Permalink
Set transparent background only for Close tool button, instead of als…
Browse files Browse the repository at this point in the history
…o for tool tip
  • Loading branch information
dakcarto committed Nov 5, 2012
1 parent 5bb19c3 commit 410deb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsmessagebar.cpp
Expand Up @@ -44,7 +44,7 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )

mCloseBtn = new QToolButton( this );
mCloseBtn->setToolTip( tr( "Close" ) );
mCloseBtn->setStyleSheet( "background-color: rgba(255, 255, 255, 0);" );
mCloseBtn->setStyleSheet( "QToolButton {background-color: rgba(255, 255, 255, 0);}" );
mCloseBtn->setCursor( Qt::PointingHandCursor );
mCloseBtn->setIcon( QgsApplication::getThemeIcon( "/mIconClose.png" ) );
connect( mCloseBtn, SIGNAL( clicked() ), this, SLOT( popWidget() ) );
Expand Down

0 comments on commit 410deb9

Please sign in to comment.