forked from qt-creator/qt-creator
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:
committed by
Eike Ziller
parent
e717a75e38
commit
ed7c287f50
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user