summaryrefslogtreecommitdiffstats
path: root/demos/embedded/raycasting
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-21 16:27:40 (GMT)
committerJoerg Bornemann <joerg.bornemann@nokia.com>2009-10-21 16:29:02 (GMT)
commitd043b59fedc41c774cc68eb49d9900dc6d36f3e5 (patch)
tree48dc901b8b5bf81268003f2add1da470b7728099 /demos/embedded/raycasting
parentbc2de3fbcc3f19c80938bdea17f01aa7da9f055e (diff)
downloadQt-d043b59fedc41c774cc68eb49d9900dc6d36f3e5.zip
Qt-d043b59fedc41c774cc68eb49d9900dc6d36f3e5.tar.gz
Qt-d043b59fedc41c774cc68eb49d9900dc6d36f3e5.tar.bz2
windowsmobilelify embedded demos
Reviewed-by: aportale
Diffstat (limited to 'demos/embedded/raycasting')
-rw-r--r--demos/embedded/raycasting/raycasting.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/demos/embedded/raycasting/raycasting.cpp b/demos/embedded/raycasting/raycasting.cpp
index c3b21b6..cb08b51 100644
--- a/demos/embedded/raycasting/raycasting.cpp
+++ b/demos/embedded/raycasting/raycasting.cpp
@@ -251,7 +251,9 @@ public:
protected:
void resizeEvent(QResizeEvent*) {
-#if defined(Q_OS_SYMBIAN)
+#if defined(Q_OS_WINCE_WM)
+ touchDevice = true;
+#elif defined(Q_OS_SYMBIAN)
// FIXME: use HAL
if (width() > 480 || height() > 480)
touchDevice = true;
@@ -378,7 +380,7 @@ int main(int argc, char **argv)
Raycasting w;
w.setWindowTitle("Raycasting");
-#if defined(Q_OS_SYMBIAN)
+#if defined(Q_OS_SYMBIAN) || defined(Q_OS_WINCE_WM)
w.showMaximized();
#else
w.resize(640, 480);