Skip to content

Commit f12e1e0

Browse files
committed
fix warning when parsing stylesheet in qgsmessagebar:
avoid log message: "Could not parse stylesheet of widget .."
1 parent f3ee6c8 commit f12e1e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/gui/qgsmessagebar.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )
7676
mCloseBtn->setToolTip( tr( "Close" ) );
7777
mCloseBtn->setMinimumWidth( 40 );
7878
mCloseBtn->setStyleSheet(
79-
"QToolButton { background-color: rgba(0, 0, 0, 0); } "
80-
"QToolButton::menu-button { background-color: rgba(0, 0, 0, 0); " );
79+
"QToolButton { background-color: rgba(0, 0, 0, 0); }"
80+
"QToolButton::menu-button { background-color: rgba(0, 0, 0, 0); }" );
8181
mCloseBtn->setCursor( Qt::PointingHandCursor );
8282
mCloseBtn->setIcon( QgsApplication::getThemeIcon( "/mIconClose.png" ) );
8383
mCloseBtn->setIconSize( QSize( 18, 18 ) );

0 commit comments

Comments
 (0)