Fix handleScreenOrientationChange call in wayland plug-in.
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>
Fri, 13 Jan 2012 12:18:02 +0000 (14:18 +0200)
committerSamuel Rødal <samuel.rodal@nokia.com>
Fri, 13 Jan 2012 12:22:46 +0000 (13:22 +0100)
Change-Id: Ib8abd146c2bd30b59c6aba0aa9a28f70133b25e9
Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/plugins/platforms/wayland/qwaylandextendedoutput.cpp

index c2d84eb..bc39d60 100644 (file)
@@ -107,7 +107,7 @@ void QWaylandExtendedOutput::set_screen_rotation(void *data, wl_extended_output
         extended_output->m_orientation = Qt::PortraitOrientation;
         break;
     }
-    QWindowSystemInterface::handleScreenOrientationChange(extended_output->m_screen->screen());
+    QWindowSystemInterface::handleScreenOrientationChange(extended_output->m_screen->screen(), extended_output->m_orientation);
 }
 
 const struct wl_extended_output_listener QWaylandExtendedOutput::extended_output_listener = {