aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/utils/icon.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <[email protected]>2024-09-26 15:42:29 +0200
committerAlessandro Portale <[email protected]>2024-09-27 13:09:12 +0000
commit990a72cfcb5c18e977f0efcc2226a12548fd8250 (patch)
treef7ec4302d2faa429f26e4d7e37d02ccd2f5283ca /src/libs/utils/icon.cpp
parentda0cfadb208431a9214195681c38526c524e6cd2 (diff)
Icons: Remove remnants of colored "active" state of mode icons
In Qt Creator 14, the mode icon graphics were updated. Due to their "line style", the effect of individually coloring their active state was disabled. The feature was not completely removed, though. This change removes all traces of this feature. Upcoming "UI face lift changes" will add new ways of handling the "active" state of mode icons. Amends: b599edb9b7ed186066eef04bf06a054bc183751b Change-Id: Ib1ffd2c7e3a0c45fdfacdad65377dbb676be80b6 Reviewed-by: Marcus Tillmanns <[email protected]>
Diffstat (limited to 'src/libs/utils/icon.cpp')
-rw-r--r--src/libs/utils/icon.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libs/utils/icon.cpp b/src/libs/utils/icon.cpp
index 073ec771531..c40314d6d75 100644
--- a/src/libs/utils/icon.cpp
+++ b/src/libs/utils/icon.cpp
@@ -210,13 +210,6 @@ QIcon Icon::sideBarIcon(const Icon &classic, const Icon &flat)
return result;
}
-QIcon Icon::modeIcon(const Icon &classic, const Icon &flat,
- [[maybe_unused]] const Icon &flatActive)
-{
- QIcon result = sideBarIcon(classic, flat);
- return result;
-}
-
QIcon Icon::combinedIcon(const QList<QIcon> &icons)
{
QIcon result;