diff options
Diffstat (limited to 'src/plugins/platforms/wasm/qwasmclipboard.cpp')
| -rw-r--r-- | src/plugins/platforms/wasm/qwasmclipboard.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/platforms/wasm/qwasmclipboard.cpp b/src/plugins/platforms/wasm/qwasmclipboard.cpp index 52471f7b41f..17ba1f4db6c 100644 --- a/src/plugins/platforms/wasm/qwasmclipboard.cpp +++ b/src/plugins/platforms/wasm/qwasmclipboard.cpp @@ -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 |
