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:
Alessandro Portale
2015-11-30 18:12:49 +01:00
parent b10b39a6dc
commit 03c07b80fd
20 changed files with 23 additions and 99 deletions

View File

@@ -88,8 +88,8 @@ void OpenDocumentsDelegate::paint(QPainter *painter, const QStyleOptionViewItem
if (closeButtonVisible && index.column() == 1 && option.state & QStyle::State_MouseOver) {
const QIcon icon = (option.state & QStyle::State_Selected) ?
Icons::CLOSE_BUTTON.icon()
: Icons::DARK_CLOSE_BUTTON.icon();
Icons::CLOSE_BACKGROUND.icon()
: Icons::CLOSE_FOREGROUND.icon();
QRect iconRect(option.rect.right() - option.rect.height(),
option.rect.top(),