diff options
author | Daniel Wingerd <qt@adaptivetime.com> | 2018-12-13 15:28:39 -0500 |
---|---|---|
committer | Gravis <qt@adaptivetime.com> | 2018-12-14 10:46:35 +0000 |
commit | 2710a9b0e57d7055cd1fcb81dd20ad51e1557fce (patch) | |
tree | c387d5d12a7335478b2afe400d337961c6f6b488 /src/plugins/help/helpplugin.cpp | |
parent | b8a4050bab8c51e1b4a16a0de9134ddedc69bb06 (diff) | |
download | qt-creator-2710a9b0e57d7055cd1fcb81dd20ad51e1557fce.tar.gz |
help plugin: specify bgcolor for html
Change-Id: I5ffd9851d6bc43510f4eb3ad903055544d83b8b0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/help/helpplugin.cpp')
-rw-r--r-- | src/plugins/help/helpplugin.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/help/helpplugin.cpp b/src/plugins/help/helpplugin.cpp index b8710006dc..679f04d9a6 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("<html><head><title>%1</title>" - "</head><body><br/><center>" - "<font color=\"%2\"><b>%3</b></font><br/>" - "<font color=\"%4\">%5</font>" + "</head><body bgcolor=\"%2\"><br/><center>" + "<font color=\"%3\"><b>%4</b></font><br/>" + "<font color=\"%3\">%5</font>" "</center></body></html>") .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 |