Declare params in qwasmclipboard unused

Without this, it won't compile with the -developer-build configure
option (warnings are errors)

Pick-to: 6.3 6.2
Change-Id: I114370e918d63bd6e8855b5f750999cf372e2f6d
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
This commit is contained in:
David Skoland 2021-12-14 14:47:32 +01:00
parent 44d2f97bff
commit 12511c9941

View File

@ -108,6 +108,7 @@ static void qClipboardPromiseResolve(emscripten::val clipboardItems)
static void qClipboardCopyPromiseResolve(emscripten::val something)
{
Q_UNUSED(something)
qWarning() << "copy succeeeded";
}
@ -455,6 +456,7 @@ void QWasmClipboard::writeToClipboardApi()
void QWasmClipboard::writeToClipboard(const QMimeData *data)
{
Q_UNUSED(data)
// this works for firefox, chrome by generating
// copy event, but not safari
// execCommand has been deemed deprecated in the docs, but browsers do not seem