Do not refer to non-existant member in QSurfaceFormat docs
authorLaszlo Agocs <lagocs83@gmail.com>
Wed, 5 Sep 2012 09:18:15 +0000 (12:18 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 20 Sep 2012 05:04:11 +0000 (07:04 +0200)
Sample buffers should be enabled automatically under the hood
when samples is > 0 and therefore the getter and setter are
gone.

Change-Id: I9cd6438e89060f901598a6aacacb99362fac4718
Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
src/gui/kernel/qsurfaceformat.cpp

index 4851ba2..6da2e4d 100644 (file)
@@ -290,7 +290,7 @@ void QSurfaceFormat::setStereo(bool enable)
     Returns the number of samples per pixel when multisampling is
     enabled. By default, multisampling is disabled.
 
-    \sa setSampleBuffers(), sampleBuffers(), setSamples()
+    \sa setSamples()
 */
 int QSurfaceFormat::samples() const
 {
@@ -301,7 +301,7 @@ int QSurfaceFormat::samples() const
     Set the preferred number of samples per pixel when multisampling
     is enabled to \a numSamples. By default, multisampling is disabled.
 
-    \sa setSampleBuffers(), sampleBuffers(), samples()
+    \sa samples()
 */
 void QSurfaceFormat::setSamples(int numSamples)
 {