forked from qt-creator/qt-creator
Core: Better warning/error/info icons on non-toolbars
The warning/error/info with shadow and transparent mark work well on our toolbars but not anywhere else. This patch creates a separate set of these icons with better contrast, filled marks and no shadow. Change-Id: I96787753dffd80b325336f0adc8e3be054c34618 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
This commit is contained in:
@@ -118,7 +118,7 @@ static QPixmap masksToIcon(const MasksAndColors &masks, const QPixmap &combinedM
|
||||
|
||||
for (MasksAndColors::const_iterator maskImage = masks.constBegin();
|
||||
maskImage != masks.constEnd(); ++maskImage) {
|
||||
if (maskImage != masks.constBegin()) {
|
||||
if (style == Icon::Style::TintedWithShadow && maskImage != masks.constBegin()) {
|
||||
// Punch a transparent outline around an overlay.
|
||||
p.save();
|
||||
p.setOpacity(0.4);
|
||||
|
||||
Reference in New Issue
Block a user