diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2012-05-07 09:40:14 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-07 12:12:26 +0200 |
commit | 79400f83ecdb8fc4a6588609ba7fedffd58d4b5b (patch) | |
tree | f17dfe848a5b0b0fa66ea444283d7ec5110a6a22 /src/gui/kernel | |
parent | b3f9978a4d3690e2d77ed4f372788418d72c88cd (diff) |
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>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r-- | src/gui/kernel/qplatformscreen_qpa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/kernel/qplatformscreen_qpa.cpp b/src/gui/kernel/qplatformscreen_qpa.cpp index 022f198073..a26bd25408 100644 --- a/src/gui/kernel/qplatformscreen_qpa.cpp +++ b/src/gui/kernel/qplatformscreen_qpa.cpp @@ -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. |