Skip to content

Commit

Permalink
fix warning when parsing stylesheet in qgsmessagebar:
Browse files Browse the repository at this point in the history
avoid log message: "Could not parse stylesheet of widget .."
  • Loading branch information
slarosa committed Dec 2, 2013
1 parent f3ee6c8 commit f12e1e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsmessagebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ) );
Expand Down

0 comments on commit f12e1e0

Please sign in to comment.