summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/assistant/tools/assistant/centralwidget.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/tools/assistant/tools/assistant/centralwidget.cpp b/tools/assistant/tools/assistant/centralwidget.cpp
index dab1ade..076498e 100644
--- a/tools/assistant/tools/assistant/centralwidget.cpp
+++ b/tools/assistant/tools/assistant/centralwidget.cpp
@@ -973,6 +973,9 @@ bool CentralWidget::findInWebPage(const QString &ttf, bool forward)
// this needs to stay, case for active search results page
return findInTextBrowser(ttf, forward);
+#else
+ Q_UNUSED(ttf);
+ Q_UNUSED(forward);
#endif
return false;
}
@@ -1121,7 +1124,7 @@ CentralWidget::setSourceFromSearch(const QUrl &url)
TRACE_OBJ
setSource(url);
#if defined(QT_NO_WEBKIT)
- highlightSearchTerms()
+ highlightSearchTerms();
#else
connect(currentHelpViewer(), SIGNAL(loadFinished(bool)), this,
SLOT(highlightSearchTerms()));
@@ -1134,7 +1137,7 @@ CentralWidget::setSourceFromSearchInNewTab(const QUrl &url)
TRACE_OBJ
setSourceInNewTab(url);
#if defined(QT_NO_WEBKIT)
- highlightSearchTerms()
+ highlightSearchTerms();
#else
connect(currentHelpViewer(), SIGNAL(loadFinished(bool)), this,
SLOT(highlightSearchTerms()));