Skip to content

Commit

Permalink
Rename icon to generic name
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jul 15, 2019
1 parent a1d116e commit ff99b9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion images/images.qrc
Expand Up @@ -767,7 +767,7 @@
<file>themes/default/mIconAlignRight.svg</file>
<file>themes/default/mIconArrangeSymbolsLeft.svg</file>
<file>themes/default/mIconArrangeSymbolsRight.svg</file>
<file>themes/default/mIconClearNews.svg</file>
<file>themes/default/mIconClearItem.svg</file>
</qresource>
<qresource prefix="/images/tips">
<file alias="symbol_levels.png">qgis_tips/symbol_levels.png</file>
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion src/app/qgsprojectlistitemdelegate.cpp
Expand Up @@ -246,7 +246,7 @@ void QgsNewsItemListItemDelegate::paint( QPainter *painter, const QStyleOptionVi

// Gross, but not well supported in Qt
mDismissRect = QRect( option.rect.width() - 32, option.rect.top() + 10, mDismissRectSize.width(), mDismissRectSize.height() );
QPixmap pixmap = QgsApplication::getThemeIcon( QStringLiteral( "/mIconClearNews.svg" ) ).pixmap( mDismissRectSize, QIcon::Normal );
QPixmap pixmap = QgsApplication::getThemeIcon( QStringLiteral( "/mIconClearItem.svg" ) ).pixmap( mDismissRectSize, QIcon::Normal );
painter->drawPixmap( mDismissRect.topLeft(), pixmap );
mDismissRect.setTop( 10 );

Expand Down

0 comments on commit ff99b9d

Please sign in to comment.