forked from qt-creator/qt-creator
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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user