forked from qt-creator/qt-creator
Use always white as the background color in HelpViewer
Our css styling assumes white as the background color. Change-Id: Ieeddf1eba5bb29cadf0f4da7c8ee6b14c5d1387e Task-number: QTCREATORBUG-13300 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
This commit is contained in:
@@ -63,6 +63,7 @@ TextBrowserHelpViewer::TextBrowserHelpViewer(qreal zoom, QWidget *parent)
|
||||
p.color(QPalette::Active, QPalette::Highlight));
|
||||
p.setColor(QPalette::Inactive, QPalette::HighlightedText,
|
||||
p.color(QPalette::Active, QPalette::HighlightedText));
|
||||
p.setColor(QPalette::Base, Qt::white);
|
||||
setPalette(p);
|
||||
|
||||
connect(m_textBrowser, SIGNAL(sourceChanged(QUrl)), this, SIGNAL(titleChanged()));
|
||||
|
||||
Reference in New Issue
Block a user