Skip to content
Permalink
Browse files

Set transparent background only for Close tool button, instead of als…

…o for tool tip
  • Loading branch information
dakcarto committed Nov 5, 2012
1 parent 5bb19c3 commit 410deb9d56f4a964027546451b29bad2a20b9bfe
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/gui/qgsmessagebar.cpp
@@ -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() ) );

0 comments on commit 410deb9

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