diff options
author | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2016-03-21 12:48:06 +0100 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@theqtcompany.com> | 2016-03-21 14:23:23 +0000 |
commit | ddde4bdd273749fc244613c04d88856667e0920a (patch) | |
tree | b89bac672eb1334bfa74f2c25c756a0613791e32 /src/libs/utils/stylehelper.h | |
parent | 2baa1f8b7730611894a1b1e3daebfc0d88845852 (diff) |
Utils: Improved handling of StyleHelper::baseColor
This change makes sure that the "UI coloring" feature respects the
original brightness of the current theme. It prevents dark themes from
getting a too light recoloring and vice versa.
Extra benefit: this allows to remove much recently introduced code.
Change-Id: Ib2c96e7ed172a4cc97520aa4b5d180cc6353c661
Reviewed-by: hjk <hjk@theqtcompany.com>
Diffstat (limited to 'src/libs/utils/stylehelper.h')
-rw-r--r-- | src/libs/utils/stylehelper.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libs/utils/stylehelper.h b/src/libs/utils/stylehelper.h index 5ac91df433e..7e483c43f1d 100644 --- a/src/libs/utils/stylehelper.h +++ b/src/libs/utils/stylehelper.h @@ -56,7 +56,6 @@ public: // This is our color table, all colors derive from baseColor static QColor requestedBaseColor() { return m_requestedBaseColor; } static QColor baseColor(bool lightColored = false); - static bool isBaseColorDefault(); static QColor panelTextColor(bool lightColored = false); static QColor highlightColor(bool lightColored = false); static QColor shadowColor(bool lightColored = false); |