summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qguiapplication.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2022-07-12 15:54:40 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2022-07-13 14:35:02 +0200
commit03a691cecb91ea91394d40b0b7e1b15210fc5687 (patch)
tree7b648772b64bbb03a66d04a61daf6e9dda3f096f /src/gui/kernel/qguiapplication.cpp
parent593b0a01c574e969168062011607b389eab5b983 (diff)
Change "delivering touch to same window" warnings to debug messages
When you touch-tap a QPushButton, and that opens a popup, it's normal that the touch release is delivered to the main window rather than the popup: in fact QWidgetWindow::handleMouseEvent() expects to see a synth-mouse release. No warning is needed. Amends efc02f9cc301f98c77079adae026ffd07f50d5ab There may be other cases when it should have remained a warning (it's been there since 2692237bb1b0c0f50b7cc5d920eb8ab065063d47), but that's hypothetical at this point. Pick-to: 6.2 6.3 6.4 Task-number: QTBUG-103706 Change-Id: Ie8cc62af4d173ada5138fd099d9f02bd41f4cff4 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/gui/kernel/qguiapplication.cpp')
-rw-r--r--src/gui/kernel/qguiapplication.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp
index 6f89efb26c..efa836522a 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -2893,15 +2893,15 @@ void QGuiApplicationPrivate::processTouchEvent(QWindowSystemInterfacePrivate::To
case QEventPoint::State::Released:
if (Q_UNLIKELY(!window.isNull() && window != QMutableEventPoint::window(ep)))
- qCWarning(lcPtrDispatch) << "delivering touch release to same window"
- << QMutableEventPoint::window(ep) << "not" << window.data();
+ qCDebug(lcPtrDispatch) << "delivering touch release to same window"
+ << QMutableEventPoint::window(ep) << "not" << window.data();
window = QMutableEventPoint::window(ep);
break;
default: // update or stationary
if (Q_UNLIKELY(!window.isNull() && window != QMutableEventPoint::window(ep)))
- qCWarning(lcPtrDispatch) << "delivering touch update to same window"
- << QMutableEventPoint::window(ep) << "not" << window.data();
+ qCDebug(lcPtrDispatch) << "delivering touch update to same window"
+ << QMutableEventPoint::window(ep) << "not" << window.data();
window = QMutableEventPoint::window(ep);
break;
}