aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/qtcreator/themes/dark.creatortheme2
-rw-r--r--src/libs/utils/icon.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/share/qtcreator/themes/dark.creatortheme b/share/qtcreator/themes/dark.creatortheme
index 6e5e66cc6f3..bc0e02b0bdd 100644
--- a/share/qtcreator/themes/dark.creatortheme
+++ b/share/qtcreator/themes/dark.creatortheme
@@ -6,7 +6,7 @@ DefaultTextEditorColorScheme=dark.xml
[Palette]
shadowBackground=ff232323
text=ffe7e7e7
-textDisabled=ffa0a0a0
+textDisabled=ff909090
hoverBackground=ff515151
selectedBackground=ff151515
normalBackground=ff333333
diff --git a/src/libs/utils/icon.cpp b/src/libs/utils/icon.cpp
index 83c7a2683c5..e1e641baf73 100644
--- a/src/libs/utils/icon.cpp
+++ b/src/libs/utils/icon.cpp
@@ -184,8 +184,7 @@ QIcon Icon::icon() const
const QPixmap combinedMask = Utils::combinedMask(masks, m_style);
result.addPixmap(masksToIcon(masks, combinedMask, m_style));
- QColor disabledColor = creatorTheme()->palette().mid().color();
- disabledColor.setAlphaF(0.6);
+ const QColor disabledColor = creatorTheme()->color(Theme::IconsDisabledColor);
result.addPixmap(maskToColorAndAlpha(combinedMask, disabledColor), QIcon::Disabled);
return result;
}