summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPekka Vuorela <pekka.ta.vuorela@nokia.com>2012-02-16 14:24:22 +0200
committerQt by Nokia <qt-info@nokia.com>2012-02-22 13:54:31 +0100
commit5d49ca960c942465adf0644ee382b91c35dfb650 (patch)
tree062c0187efee3a14a2989c08de31af3696788764 /src
parent7401832a7d45de99562b94340375393a39267f41 (diff)
Fix typos
Change-Id: Ic0389d36bad001935376fb29d8c925b7ff908e4f Reviewed-by: Joona Petrell <joona.t.petrell@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/text/qabstracttextdocumentlayout.cpp2
-rw-r--r--src/widgets/util/qscrollerproperties.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/text/qabstracttextdocumentlayout.cpp b/src/gui/text/qabstracttextdocumentlayout.cpp
index 7bf2a631ea..86de48b1dc 100644
--- a/src/gui/text/qabstracttextdocumentlayout.cpp
+++ b/src/gui/text/qabstracttextdocumentlayout.cpp
@@ -239,7 +239,7 @@ QT_BEGIN_NAMESPACE
/*!
\fn int QAbstractTextDocumentLayout::hitTest(const QPointF &point, Qt::HitTestAccuracy accuracy) const
- Returns the cursor postion for the given \a point with the specified
+ Returns the cursor position for the given \a point with the specified
\a accuracy. Returns -1 if no valid cursor position was found.
*/
diff --git a/src/widgets/util/qscrollerproperties.cpp b/src/widgets/util/qscrollerproperties.cpp
index 6a61e4dfd1..8d6ad36014 100644
--- a/src/widgets/util/qscrollerproperties.cpp
+++ b/src/widgets/util/qscrollerproperties.cpp
@@ -314,7 +314,7 @@ void QScrollerProperties::setScrollMetric(ScrollMetric metric, const QVariant &v
\value MousePressEventDelay This is the time a mouse press event is delayed when starting
a flick gesture in \c{[s]}. If the gesture is triggered within that time, no mouse press or
release is sent to the scrolled object. If it triggers after that delay the delayed
- mouse press plus a faked release event at global postion \c{QPoint(-QWIDGETSIZE_MAX,
+ mouse press plus a faked release event at global position \c{QPoint(-QWIDGETSIZE_MAX,
-QWIDGETSIZE_MAX)} is sent. If the gesture is canceled, then both the delayed mouse
press plus the real release event are delivered.