forked from qt-creator/qt-creator
Fixes: - Html used for "No Documentation found" was invalid
RevBy: - dt
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user