From 2710a9b0e57d7055cd1fcb81dd20ad51e1557fce Mon Sep 17 00:00:00 2001 From: Daniel Wingerd Date: Thu, 13 Dec 2018 15:28:39 -0500 Subject: [PATCH] help plugin: specify bgcolor for html Change-Id: I5ffd9851d6bc43510f4eb3ad903055544d83b8b0 Reviewed-by: Eike Ziller --- src/plugins/help/helpplugin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index b8710006dca..679f04d9a6e 100644 --- a/src/plugins/help/helpplugin.cpp +++ b/src/plugins/help/helpplugin.cpp @@ -686,14 +686,14 @@ void HelpPluginPrivate::showContextHelp(const QString &contextHelpId) // No link found or no context object showInHelpViewer(QUrl(Help::Constants::AboutBlank), viewer); viewer->setHtml(QString("%1" - "
" - "%3
" - "%5" + "
" + "%4
" + "%5" "
") .arg(HelpPlugin::tr("No Documentation")) + .arg(creatorTheme()->color(Theme::BackgroundColorNormal).name()) .arg(creatorTheme()->color(Theme::TextColorNormal).name()) .arg(contextHelpId) - .arg(creatorTheme()->color(Theme::TextColorNormal).name()) .arg(HelpPlugin::tr("No documentation available."))); } else { showInHelpViewer(source, viewer); // triggers loadFinished which triggers id highlighting