summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGirish Ramakrishnan <[email protected]>2012-04-11 16:59:39 -0700
committerQt by Nokia <[email protected]>2012-04-12 15:37:15 +0200
commita5dccb0ece9f10d1de4dd6083f780cb594552b67 (patch)
tree259a04f4c9d9af225d6e47f516961d9e6b578471
parente583ce4103e925ec7ef832d2c9e88979bc04d56c (diff)
Move QSurface destructor to qsurface.cpp
fa0407bdb50262f8748e955cf698181cc6906542 moved all QSurface code to a separate except the destructor. Change-Id: I2bf426a0b70cbffafae7aca8dd5550192f762aeb Reviewed-by: Samuel Rødal <[email protected]>
-rw-r--r--src/gui/kernel/qsurface.cpp4
-rw-r--r--src/gui/kernel/qwindow.cpp4
2 files changed, 3 insertions, 5 deletions
diff --git a/src/gui/kernel/qsurface.cpp b/src/gui/kernel/qsurface.cpp
index 534135cc2fb..8b71fc35362 100644
--- a/src/gui/kernel/qsurface.cpp
+++ b/src/gui/kernel/qsurface.cpp
@@ -88,7 +88,9 @@ QSurface::QSurface(SurfaceClass type)
{
}
-
+QSurface::~QSurface()
+{
+}
QSurface::SurfaceClass QSurface::surfaceClass() const
{
diff --git a/src/gui/kernel/qwindow.cpp b/src/gui/kernel/qwindow.cpp
index 88ff31fe91e..856dcd84265 100644
--- a/src/gui/kernel/qwindow.cpp
+++ b/src/gui/kernel/qwindow.cpp
@@ -181,10 +181,6 @@ QWindow::~QWindow()
destroy();
}
-QSurface::~QSurface()
-{
-}
-
/*!
Set the \a surfaceType of the window.