summaryrefslogtreecommitdiffstats
path: root/examples/embedded/raycasting
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2019-06-06 15:35:06 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-06-06 19:00:41 +0200
commit6e42979518aa0697ff31706616ddbc05486f1864 (patch)
tree06de55baaed993b51af517dba8f230fab749882c /examples/embedded/raycasting
parent5505d25be972948db1621e1511b89b4144aa8bfc (diff)
parent2a302a73613d68475e667f69b8e36ce07853c813 (diff)
Merge "Merge remote-tracking branch 'origin/dev' into wip/qt6"
Diffstat (limited to 'examples/embedded/raycasting')
-rw-r--r--examples/embedded/raycasting/raycasting.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/embedded/raycasting/raycasting.cpp b/examples/embedded/raycasting/raycasting.cpp
index d37b9f5d2e..7213811213 100644
--- a/examples/embedded/raycasting/raycasting.cpp
+++ b/examples/embedded/raycasting/raycasting.cpp
@@ -255,11 +255,7 @@ public:
protected:
void resizeEvent(QResizeEvent*) {
-#if defined(Q_OS_WINCE_WM)
- touchDevice = true;
-#else
touchDevice = false;
-#endif
if (touchDevice) {
if (width() < height()) {
trackPad = QRect(0, height() / 2, width(), height() / 2);