Skip to content
Snippets Groups Projects
Commit e1a78f61 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

Merge branch '1.4'

parents 8d6b9d28 09b05ae3
No related branches found
No related tags found
No related merge requests found
......@@ -84,7 +84,11 @@ void AbstractNavigationWidget::initBrowser(int height) {
m_browser = new KTextBrowser;
// since we can embed arbitrary HTML we have to make sure it stays readable by forcing a black-white palette
m_browser->setPalette( QPalette( Qt::black, Qt::white ) );
QPalette p;
p.setColor(QPalette::AlternateBase, Qt::white);
p.setColor(QPalette::Base, Qt::white);
p.setColor(QPalette::Text, Qt::black);
m_browser->setPalette( p );
m_browser->setOpenLinks(false);
m_browser->setOpenExternalLinks(false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment