Move QSurface destructor to qsurface.cpp
authorGirish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
Wed, 11 Apr 2012 23:59:39 +0000 (16:59 -0700)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Apr 2012 13:37:15 +0000 (15:37 +0200)
fa0407bdb50262f8748e955cf698181cc6906542 moved all QSurface code to
a separate except the destructor.

Change-Id: I2bf426a0b70cbffafae7aca8dd5550192f762aeb
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/kernel/qsurface.cpp
src/gui/kernel/qwindow.cpp

index 534135c..8b71fc3 100644 (file)
@@ -88,7 +88,9 @@ QSurface::QSurface(SurfaceClass type)
 {
 }
 
-
+QSurface::~QSurface()
+{
+}
 
 QSurface::SurfaceClass QSurface::surfaceClass() const
 {
index 88ff31f..856dcd8 100644 (file)
@@ -181,10 +181,6 @@ QWindow::~QWindow()
     destroy();
 }
 
-QSurface::~QSurface()
-{
-}
-
 /*!
     Set the \a surfaceType of the window.