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:
@@ -967,13 +967,13 @@ void FindToolBar::setLightColoredIcon(bool lightColored)
|
||||
m_ui.findNextButton->setArrowType(Qt::RightArrow);
|
||||
m_ui.findPreviousButton->setIcon(QIcon());
|
||||
m_ui.findPreviousButton->setArrowType(Qt::LeftArrow);
|
||||
m_ui.close->setIcon(Icons::DARK_CLOSE.icon());
|
||||
m_ui.close->setIcon(Icons::CLOSE_FOREGROUND.icon());
|
||||
} else {
|
||||
m_ui.findNextButton->setIcon(Icons::NEXT.icon());
|
||||
m_ui.findNextButton->setArrowType(Qt::NoArrow);
|
||||
m_ui.findPreviousButton->setIcon(Icons::PREV.icon());
|
||||
m_ui.findPreviousButton->setArrowType(Qt::NoArrow);
|
||||
m_ui.close->setIcon(Icons::BUTTON_CLOSE.icon());
|
||||
m_ui.close->setIcon(Icons::CLOSE_TOOLBAR.icon());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user