Theming: Add a Color value for splitter

Used BackgroundColorSelected as a workaround in 3.3 in order to
maintain BC.

Change-Id: I1520deb8adcfed26b65aa7f4612218d15c310923
Reviewed-by: Thorben Kroeger <thorbenkroeger@gmail.com>
Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
This commit is contained in:
Orgad Shaneh
2015-02-11 11:42:41 +02:00
committed by Eike Ziller
parent e717a75e38
commit ed7c287f50
4 changed files with 4 additions and 1 deletions

View File

@@ -620,7 +620,7 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt
switch (element) {
case CE_Splitter:
if (creatorTheme()->widgetStyle() == Theme::StyleFlat)
painter->fillRect(option->rect, creatorTheme()->color(Theme::BackgroundColorSelected));
painter->fillRect(option->rect, creatorTheme()->color(Theme::SplitterColor));
else
painter->fillRect(option->rect, StyleHelper::borderColor());
break;