From dc8fb82e982127d3cc9086342db10866ca03ea7e Mon Sep 17 00:00:00 2001 From: ck Date: Fri, 22 Jan 2010 09:59:53 +0100 Subject: Assistant: Fix compliation for -no-webkit. --- tools/assistant/tools/assistant/centralwidget.cpp | 7 +++++-- 1 file 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())); -- cgit v0.12