summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qscreen.cpp
diff options
context:
space:
mode:
authorTopi Reinio <topi.reinio@digia.com>2013-01-17 12:38:24 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-01-17 18:02:14 +0100
commitd94ac55a013f970f81f382a38cb4722530fc99eb (patch)
tree2ec7011441b5727628ce397205d339a08866a228 /src/gui/kernel/qscreen.cpp
parent64439ed92a88554ec2f277970620de3e9abf2ad0 (diff)
Doc: Fix documentation for devicePixelRatio() functions
Fix Incorrect use of \sa, missing markup for comment block and typos. Change-Id: I1b7e477b7429ace30ca3ab25c4814c8cba659a65 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/gui/kernel/qscreen.cpp')
-rw-r--r--src/gui/kernel/qscreen.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/gui/kernel/qscreen.cpp b/src/gui/kernel/qscreen.cpp
index f5467ab742..6b69e5cb49 100644
--- a/src/gui/kernel/qscreen.cpp
+++ b/src/gui/kernel/qscreen.cpp
@@ -214,13 +214,12 @@ qreal QScreen::logicalDotsPerInch() const
return (dpi.first + dpi.second) * qreal(0.5);
}
-/*
+/*!
Returns the ratio between physical pixels and device-independent pixels for the screen.
- Common values are 1.0 on normal displays and 2.0 on Apple retina displays.
+ Common values are 1.0 on normal displays and 2.0 on Apple "retina" displays.
- \sa QWindow::devicePixelRatio();
- \sa QGuiApplicaiton::devicePixelRatio();
+ \sa QWindow::devicePixelRatio(), QGuiApplication::devicePixelRatio()
*/
qreal QScreen::devicePixelRatio() const
{