diff --git a/src/plugins/help/helpviewer_qwv.cpp b/src/plugins/help/helpviewer_qwv.cpp
index 63e194f178aa3ace1fbdb735145f8cf438f54f32..d47c02982dda2eb88da8faa0ad0973ad9f0c422f 100644
--- a/src/plugins/help/helpviewer_qwv.cpp
+++ b/src/plugins/help/helpviewer_qwv.cpp
@@ -341,7 +341,8 @@ bool HelpViewer::isBackwardAvailable() const
 bool HelpViewer::findText(const QString &text, Find::FindFlags flags,
     bool incremental, bool fromSearch)
 {
-    Q_UNUSED((incremental && fromSearch))
+    Q_UNUSED(incremental);
+    Q_UNUSED(fromSearch);
     QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
     if (flags & Find::FindBackward)
         options |= QWebPage::FindBackward;