forked from qt-creator/qt-creator
Core: Unify the close icons
Use the same image file and recolor it as needed, Change-Id: I914819a53ca05d83ca5b88adf44706b460b48ac0 Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
@@ -251,7 +251,7 @@ void InfoBarDisplay::update()
|
||||
|
||||
if (info.cancelButtonText.isEmpty()) {
|
||||
infoWidgetCloseButton->setAutoRaise(true);
|
||||
infoWidgetCloseButton->setIcon(Icons::CLEAR.icon());
|
||||
infoWidgetCloseButton->setIcon(Icons::CLOSE_FOREGROUND.icon());
|
||||
infoWidgetCloseButton->setToolTip(tr("Close"));
|
||||
if (infoWidgetSuppressButton)
|
||||
hbox->addWidget(infoWidgetSuppressButton);
|
||||
|
||||
Reference in New Issue
Block a user