summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2011-02-21 13:16:04 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2011-02-21 13:38:40 (GMT)
commitb17f7c13834eccc056c14d682788354f6fa00f88 (patch)
treec6399038a09761d0b089044832b5f2e1309944e6
parenta4fbc44f0b29ae7c8bb0fc85af2cd56244889464 (diff)
downloadQt-b17f7c13834eccc056c14d682788354f6fa00f88.zip
Qt-b17f7c13834eccc056c14d682788354f6fa00f88.tar.gz
Qt-b17f7c13834eccc056c14d682788354f6fa00f88.tar.bz2
Fix compilation: Q_UNUSED takes exactly one variable that is unused
-rw-r--r--tools/assistant/tools/assistant/helpviewer_qwv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/assistant/tools/assistant/helpviewer_qwv.cpp b/tools/assistant/tools/assistant/helpviewer_qwv.cpp
index 2d31ad7..efb9b59 100644
--- a/tools/assistant/tools/assistant/helpviewer_qwv.cpp
+++ b/tools/assistant/tools/assistant/helpviewer_qwv.cpp
@@ -379,7 +379,7 @@ bool HelpViewer::findText(const QString &text, FindFlags flags, bool incremental
bool fromSearch)
{
TRACE_OBJ
- Q_UNUSED((incremental && fromSearch))
+ Q_UNUSED(incremental); Q_UNUSED(fromSearch);
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
if (flags & FindBackward)
options |= QWebPage::FindBackward;