Added clarification to platform screen documentation.
authorSamuel Rødal <samuel.rodal@nokia.com>
Mon, 7 May 2012 07:40:14 +0000 (09:40 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 7 May 2012 10:12:26 +0000 (12:12 +0200)
Document that physicalSize() should return the size in millimeters.

Change-Id: Idf1283aa9b303bcb95361688f2ef663979bc6516
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
src/gui/kernel/qplatformscreen_qpa.cpp

index 022f198..a26bd25 100644 (file)
@@ -123,8 +123,8 @@ QScreen *QPlatformScreen::screen() const
 
 /*!
     Reimplement this function in subclass to return the physical size of the
-    screen. The physical size represents the actual physical dimensions of
-    the display.
+    screen, in millimeters. The physical size represents the actual physical
+    dimensions of the display.
 
     The default implementation takes the pixel size of the screen, considers a
     resolution of 100 dots per inch, and returns the calculated physical size.