Tag browser and ebook viewer toc: Use the general forground color as the text color rather than the foreground color for item views

This commit is contained in:
Kovid Goyal 2012-06-08 22:24:10 +05:30
parent 7b873bdf82
commit c479134d21
2 changed files with 2 additions and 2 deletions

View File

@ -104,7 +104,7 @@ class TagsView(QTreeView): # {{{
self.setStyleSheet('''
QTreeView {
background-color: palette(window);
color: palette(text);
color: palette(window-text);
border: none;
}

View File

@ -20,7 +20,7 @@ class TOCView(QTreeView):
self.setStyleSheet('''
QTreeView {
background-color: palette(window);
color: palette(text);
color: palette(window-text);
border: none;
}
QTreeView::item {