Debugger: Make the console usable in dark themes

This change adds even more stylesheet code to make the background white,
and the editor text black.

Task-number: QTCREATORBUG-16556
Change-Id: I48cf5c825a7600406c289c25ba7c421cd3634a97
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
This commit is contained in:
Alessandro Portale
2016-07-21 18:23:42 +02:00
parent a30b9b6c62
commit 4f13735e2b
2 changed files with 4 additions and 1 deletions

View File

@@ -98,7 +98,9 @@ ConsoleView::ConsoleView(ConsoleItemModel *model, QWidget *parent) :
"QTreeView::branch:open:has-children:!has-siblings,"
"QTreeView::branch:open:has-children:has-siblings {"
"border-image: none;"
"image: none; }"));
"image: none; }"
"QTreeView {"
"background-color: white; }"));
QString baseName = QApplication::style()->objectName();
if (Utils::HostOsInfo::isAnyUnixHost() && !Utils::HostOsInfo::isMacHost()