summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r--src/gui/kernel/qevent.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 322e5aeb31..91ebb9f784 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -472,15 +472,6 @@ void QMutableEventPoint::updateFrom(const QEventPoint &other)
setPressure(0);
break;
- case QEventPoint::State::Stationary:
- // Stationary points might not be delivered down to the receiving item
- // and get their position transformed, keep the old values instead.
- if (other.velocity() != velocity() ||
- !qFuzzyCompare(other.pressure(), pressure())) {
- setStationaryWithModifiedProperty();
- }
- Q_FALLTHROUGH();
-
default: // update or stationary
if (globalPosition() != other.globalPosition())
setGlobalLastPosition(globalPosition());