Added clarification to platform screen documentation.

Document that physicalSize() should return the size in millimeters.

Change-Id: Idf1283aa9b303bcb95361688f2ef663979bc6516
Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
This commit is contained in:
Samuel Rødal 2012-05-07 09:40:14 +02:00 committed by Qt by Nokia
parent b3f9978a4d
commit 79400f83ec

View 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.