src/systeminfo/qsysteminfo.cpp
changeset 5 603d3f8b6302
parent 0 876b1a06bc25
--- a/src/systeminfo/qsysteminfo.cpp	Fri Sep 17 08:34:34 2010 +0300
+++ b/src/systeminfo/qsysteminfo.cpp	Mon Oct 04 01:37:06 2010 +0300
@@ -728,7 +728,7 @@
 
     Depending on platform, displayBrightness may not be available due to
     differing hardware, software or driver implementation. In which case this
-    will return 0.
+    will return -1.
 
     \sa QDesktopWidget::screenCount()
 */
@@ -738,7 +738,7 @@
 }
 
 /*!
-    Returns the color depth of the screen with the index \a screenNumber, in bits per pixel, or 0 if the screen is not found.
+    Returns the color depth of the screen with the index \a screenNumber, in bits per pixel, or -1 if the screen is not found, or an error occurs.
 
     \sa QDesktopWidget::screenCount()
 */