forked from qt-creator/qt-creator
Fix build problem without webkit.
This commit is contained in:
@@ -715,7 +715,9 @@ void HelpPlugin::activateContext()
|
||||
const QUrl &source = *links.begin();
|
||||
const QUrl &oldSource = viewer->source();
|
||||
if (source != oldSource) {
|
||||
#if !defined(QT_NO_WEBKIT)
|
||||
viewer->stop();
|
||||
#endif
|
||||
viewer->setSource(source);
|
||||
}
|
||||
viewer->setFocus();
|
||||
|
||||
Reference in New Issue
Block a user