QNX: Fix compiler warning by when FEATURE_clipboard is not enabled
warning: unused parameter 'selectionClipboard' [-Wunused-parameter] Task-number: QTBUG-101382 Change-Id: I4f42a6f41c8f8a8b3edd3a042c89b7a2a49a96fe Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> (cherry picked from commit 7cb047128c663d5e09bcf3958c4fc67c113878a7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
642eda9a75
commit
922585d58c
@ -940,6 +940,8 @@ void QWidgetTextControl::setTextCursor(const QTextCursor &cursor, bool selection
|
|||||||
#ifndef QT_NO_CLIPBOARD
|
#ifndef QT_NO_CLIPBOARD
|
||||||
if (selectionClipboard)
|
if (selectionClipboard)
|
||||||
d->setClipboardSelection();
|
d->setClipboardSelection();
|
||||||
|
#else
|
||||||
|
Q_UNUSED(selectionClipboard);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user