summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Wicking <paul.wicking@qt.io>2018-07-26 11:53:18 +0200
committerPaul Wicking <paul.wicking@qt.io>2018-07-26 11:11:37 +0000
commit0538b714dedfb001c9563044f4d895e834ecddff (patch)
treee9207eace54d23f67e935f482d92086f00d5eb98 /src
parent9a04453b50ea22d6060aeb49250cf3e263d86ad3 (diff)
Doc: Remove typo and add line breaks after \internal
In an unrelated change, it seems \internal \obsolete can cause unexpected behavior when generating the documentation. Adding this line break should fix that. Change-Id: I95eceb109faaf89be8f258fba8c31008fdc4ca57 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/gui/image/qiconengine.cpp2
-rw-r--r--src/gui/kernel/qevent.cpp12
2 files changed, 10 insertions, 4 deletions
diff --git a/src/gui/image/qiconengine.cpp b/src/gui/image/qiconengine.cpp
index 1f8e5f321a..3033112df0 100644
--- a/src/gui/image/qiconengine.cpp
+++ b/src/gui/image/qiconengine.cpp
@@ -263,7 +263,7 @@ void QIconEngine::addFile(const QString &/*fileName*/, const QSize &/*size*/, QI
\variable QIconEngine::ScaledPixmapArgument::pixmap
\brief The pixmap that is the best match for the given \l size, \l mode, \l
- \state, and \l scale. This is an output parameter that is set after calling
+ state, and \l scale. This is an output parameter that is set after calling
\l virtual_hook().
*/
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 3c412903e1..d7727d97b8 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -4994,7 +4994,9 @@ void QTouchEvent::TouchPoint::setLastNormalizedPos(const QPointF &lastNormalized
}
// ### remove the following 3 setRect functions and their usages soon
-/*! \internal \obsolete */
+/*! \internal
+ \obsolete
+*/
void QTouchEvent::TouchPoint::setRect(const QRectF &rect)
{
if (d->ref.load() != 1)
@@ -5003,7 +5005,9 @@ void QTouchEvent::TouchPoint::setRect(const QRectF &rect)
d->ellipseDiameters = rect.size();
}
-/*! \internal \obsolete */
+/*! \internal
+ \obsolete
+*/
void QTouchEvent::TouchPoint::setSceneRect(const QRectF &sceneRect)
{
if (d->ref.load() != 1)
@@ -5012,7 +5016,9 @@ void QTouchEvent::TouchPoint::setSceneRect(const QRectF &sceneRect)
d->ellipseDiameters = sceneRect.size();
}
-/*! \internal \obsolete */
+/*! \internal
+ \obsolete
+*/
void QTouchEvent::TouchPoint::setScreenRect(const QRectF &screenRect)
{
if (d->ref.load() != 1)