Fix mistake in docs. Return type should be QSurfaceFormat
authorJason Barron <jason.barron@nokia.com>
Tue, 21 Aug 2012 08:34:18 +0000 (10:34 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 29 Aug 2012 14:53:00 +0000 (16:53 +0200)
Change-Id: I4f4bf2542bb89b28ee84773507d4a121b134e730
Reviewed-by: Shawn Rutledge <shawn.rutledge@nokia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
src/gui/kernel/qsurface.cpp

index 28fe991..554db04 100644 (file)
@@ -77,7 +77,7 @@ QT_BEGIN_NAMESPACE
 
 
 /*!
-    \fn QSize QSurface::format() const
+    \fn QSurfaceFormat QSurface::format() const
 
     Returns the format of the surface.
  */