summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2013-11-28 16:08:53 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-12-04 14:50:09 +0100
commit04ccc2b255633deb6dd1bfd8ff56efdbff58a543 (patch)
tree7dee50a6bfab89e471ddb66a12948037e0619646
parent63aa431999881d034d412bd74c0ddcb539684782 (diff)
Doc: Adjust description of the qreal typedef
Change-Id: I038df8034ee00868eeee18b1ed09f7a70e3dd77a Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
-rw-r--r--src/corelib/global/qglobal.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/corelib/global/qglobal.cpp b/src/corelib/global/qglobal.cpp
index 0c72bd7022..279ba20a4f 100644
--- a/src/corelib/global/qglobal.cpp
+++ b/src/corelib/global/qglobal.cpp
@@ -556,10 +556,8 @@ Q_STATIC_ASSERT_X(UCHAR_MAX == 255, "Qt assumes that char is 8 bits");
\typedef qreal
\relates <QtGlobal>
- Typedef for \c double on all platforms except for those using CPUs with
- ARM architectures.
- On ARM-based platforms, \c qreal is a typedef for \c float for performance
- reasons.
+ Typedef for \c double unless Qt is configured with the
+ \c{-qreal float} option.
*/
/*! \typedef uchar