Fix build problem without webkit.

This commit is contained in:
kh1
2010-07-13 15:30:51 +02:00
parent a9cf11c57f
commit 3af05a8f67

View File

@@ -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();