Fixes: - Html used for "No Documentation found" was invalid

RevBy:    - dt
This commit is contained in:
con
2009-02-11 18:30:51 +01:00
parent 4a3b4acbed
commit bcc2a195a3

View File

@@ -570,8 +570,8 @@ void HelpPlugin::activateContext()
} }
if (viewer) { if (viewer) {
viewer->setHtml(tr("<title>No Documentation</title><br><br>" viewer->setHtml(tr("<html><head><title>No Documentation</title></head><body><br/>"
"<center><b>%1</b><br><br>No documentation available."). "<center><b>%1</b><br/>No documentation available.</center></body></html>").
arg(id)); arg(id));
viewer->setSource(QUrl()); viewer->setSource(QUrl());
//activateIndex(); //activateIndex();
@@ -589,8 +589,8 @@ void HelpPlugin::activateContext()
if (viewer) { if (viewer) {
viewer->setSource(QUrl()); viewer->setSource(QUrl());
viewer->setHtml("<title>No Documentation</title><br><br><center>No" viewer->setHtml("<html><head><title>No Documentation</title></head><body><br/><br/><center>No"
" documentation available."); " documentation available.</center></body></html>");
//activateIndex(); //activateIndex();
} }
} }