summaryrefslogtreecommitdiffstats
path: root/src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp')
-rw-r--r--src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp b/src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp
index e0b9b9f..b14efb8 100644
--- a/src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp
+++ b/src/plugins/graphicssystems/testlite/qwindowsurface_testlite.cpp
@@ -568,4 +568,12 @@ void QTestLiteWindowSurface::setVisible(bool visible)
}
+WId QTestLiteWindowSurface::winId() const
+{
+ if (xw)
+ return (WId) xw->window;
+ else
+ return WId(0);
+}
+
QT_END_NAMESPACE