diff options
author | David Skoland <david.skoland@qt.io> | 2021-10-28 11:01:15 +0000 |
---|---|---|
committer | David Skoland <david.skoland@qt.io> | 2021-10-29 01:16:35 +0000 |
commit | d685c4682bb7b7cd8e52f56982e7d50ce1698c46 (patch) | |
tree | a430726ae17de56871876ca9f137f8621f7def10 /src/plugins/platforms | |
parent | 753199437943e2a89e458136fd11a5a43443b280 (diff) |
Revert "wasm: Hide popups when a window is left-clicked"
This reverts commit 0921caf9769c84192c539db22085d343f1a4b5b1.
Reason for revert: This change breaks mouse press handling in popups themselves. I'll make another solution.
Change-Id: Ib9fd41f3f078e6abf22e5b0f75724d4acc737ead
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/wasm/qwasmwindow.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/plugins/platforms/wasm/qwasmwindow.cpp b/src/plugins/platforms/wasm/qwasmwindow.cpp index 48d01ef6b5..42e08e6453 100644 --- a/src/plugins/platforms/wasm/qwasmwindow.cpp +++ b/src/plugins/platforms/wasm/qwasmwindow.cpp @@ -192,9 +192,6 @@ void QWasmWindow::injectMousePressed(const QPoint &local, const QPoint &global, else if (normButtonRect().contains(global)) m_activeControl = QWasmCompositor::SC_TitleBarNormalButton; - if (button == Qt::LeftButton) - QGuiApplicationPrivate::instance()->closeAllPopups(); - invalidate(); } |