Fix the assert in QWasmClipboard::writeToClipboardApi
The assert condition should be negated. Change-Id: I901b61012ffaf893744dfb9f762b009f267b629d Reviewed-by: David Skoland <david.skoland@qt.io>
This commit is contained in:
parent
fa27a59ec3
commit
72bff530f9
@ -250,7 +250,7 @@ bool QWasmClipboard::hasClipboardApi()
|
||||
|
||||
void QWasmClipboard::writeToClipboardApi()
|
||||
{
|
||||
Q_ASSERT(!m_hasClipboardApi);
|
||||
Q_ASSERT(m_hasClipboardApi);
|
||||
|
||||
// copy event
|
||||
// browser event handler detected ctrl c if clipboard API
|
||||
|
Loading…
Reference in New Issue
Block a user