Commit 25433ca8 authored by Thiago Macieira's avatar Thiago Macieira
Browse files

Fix compilation with Intel CC: Q_UNUSED takes a reference

in qglobal.h, we make Q_UNUSED call a template function that takes T&
as a parameter. So we can't pass an rvalue (the result of the &&

Reviewed-By: Trust Me
parent 1ff13868
......@@ -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))
QWebPage::FindFlags options = QWebPage::FindWrapsAroundDocument;
if (flags & Find::FindBackward)
options |= QWebPage::FindBackward;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment