Commit 9946986e authored by Milian Wolff's avatar Milian Wolff
Browse files

Don't set light-grey background color on current selected link

The background isn't really visible on bright color schemes but
when we invert the colors it stands out over the normal system
color scheme background.
parent 078242aa
......@@ -110,8 +110,7 @@ QString AbstractNavigationContext::createLink(const QString& name, const QString
QString str = name.toHtmlEscaped();
if (d->m_linkCount == d->m_selectedLink)
str = QLatin1String("<font style=\"background-color:#f1f1f1;\" color=\"#880088\">") + str + QLatin1String(
"</font>");
str = QLatin1String("<font color=\"#880088\">") + str + QLatin1String("</font>");
QString ret = QLatin1String("<a href=\"") + hrefId + QLatin1Char('\"') +
((d->m_linkCount == d->m_selectedLink &&
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment