summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorck <qt-info@nokia.com>2010-01-22 08:59:53 (GMT)
committerck <qt-info@nokia.com>2010-01-22 08:59:53 (GMT)
commitdc8fb82e982127d3cc9086342db10866ca03ea7e (patch)
treeb3ac2c7fad0e485e7b67830a13911d775095dcc0
parent8e65adce9ced8f3b1d42b938e4d65e1af4768c33 (diff)
downloadQt-dc8fb82e982127d3cc9086342db10866ca03ea7e.zip
Qt-dc8fb82e982127d3cc9086342db10866ca03ea7e.tar.gz
Qt-dc8fb82e982127d3cc9086342db10866ca03ea7e.tar.bz2
Assistant: Fix compliation for -no-webkit.
-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()));