Skip to content
Snippets Groups Projects
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 &&
operator).

Reviewed-By: Trust Me
parent 1ff13868
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment