File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -193,19 +193,20 @@ void QgsMessageBar::pushWidget( QWidget *widget, int level )
193
193
if ( level >= 2 )
194
194
{
195
195
stylesheet = " QgsMessageBar { background-color: #d65253; border: 1px solid #9b3d3d; } "
196
- " QLabel#mMsgTitle, QLabel#mMsgText, QLabel#mItemCount { color: white; } " ;
196
+ " QLabel { color: white; } " ;
197
197
}
198
198
else if ( level == 1 )
199
199
{
200
200
stylesheet = " QgsMessageBar { background-color: #ffc800; border: 1px solid #e0aa00; } "
201
- " QLabel#mMsgTitle, QLabel#mMsgText, QLabel#mItemCount { color: black; } " ;
201
+ " QLabel { color: black; } " ;
202
202
}
203
203
else if ( level <= 0 )
204
204
{
205
205
stylesheet = " QgsMessageBar { background-color: #e7f5fe; border: 1px solid #b9cfe4; } "
206
- " QLabel#mMsgTitle, QLabel#mMsgText, QLabel#mItemCount { color: #2554a1; } " ;
206
+ " QLabel { color: #2554a1; } " ;
207
207
}
208
- stylesheet += " QLabel#mMsgTitle { font-weight: bold; } QLabel#mItemCount { font-style: italic; }" ;
208
+ stylesheet += " QLabel#mMsgTitle { font-weight: bold; } "
209
+ " QLabel#mItemCount { font-style: italic; }" ;
209
210
pushWidget ( widget, stylesheet );
210
211
}
211
212
You can’t perform that action at this time.
0 commit comments