Call the proper method to avoid code duplication.

This commit is contained in:
kh1
2010-07-23 11:58:23 +02:00
parent 2bda8675e5
commit c242146a0c

View File

@@ -897,8 +897,7 @@ void HelpPlugin::handleHelpRequest(const QUrl &url)
if (HelpViewer* viewer = viewerForContextMode())
viewer->setSource(newUrl);
} else {
activateHelpMode();
m_centralWidget->setSource(newUrl);
switchToHelpMode(newUrl);
}
}