forked from qt-creator/qt-creator
Help: Simplify and unify code
The help widget doesn't need to resolve the external help viewer instance manually, we have an entrypoint for that already. Change-Id: I6875c434428baac3f1883813207cf318d7d3dc09 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -69,8 +69,7 @@ namespace Internal {
|
||||
|
||||
static void openUrlInWindow(const QUrl &url)
|
||||
{
|
||||
HelpViewer *viewer = HelpPlugin::viewerForHelpViewerLocation(Core::HelpManager::ExternalHelpAlways);
|
||||
HelpPlugin::showInHelpViewer(url, viewer);
|
||||
HelpPlugin::showHelpUrl(url, Core::HelpManager::ExternalHelpAlways);
|
||||
}
|
||||
|
||||
static bool isBookmarkable(const QUrl &url)
|
||||
|
||||
Reference in New Issue
Block a user