Skip to content
Permalink
Browse files

fix warning when parsing stylesheet in qgsmessagebar:

avoid log message: "Could not parse stylesheet of widget .."
  • Loading branch information
slarosa committed Nov 30, 2013
1 parent f3ee6c8 commit f12e1e05c8662c5cfb19cac6100ee2fae0ad09ff
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/qgsmessagebar.cpp
@@ -76,8 +76,8 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )
mCloseBtn->setToolTip( tr( "Close" ) );
mCloseBtn->setMinimumWidth( 40 );
mCloseBtn->setStyleSheet(
"QToolButton { background-color: rgba(0, 0, 0, 0); } "
"QToolButton::menu-button { background-color: rgba(0, 0, 0, 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 f12e1e0

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