summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-02-05 12:24:49 +0100
committerMarc Mutz <marc.mutz@kdab.com>2015-02-12 19:41:22 +0000
commit6617da3bf99ad120def73bb2bc7f82bf40a384e9 (patch)
tree38a7aae34b0f9b64b934f4b3e7624bd058d85e41 /src/widgets/widgets
parent8bccf93300a4fb921fd9b59bf346f6a6b08dfe53 (diff)
Clarify QTextEdit::createStandardContextMenu(QPoint) docs
It assumes document coordinates. Change-Id: I9c1db154d45053065533c10bf76c338cc1324081 Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/widgets')
-rw-r--r--src/widgets/widgets/qtextedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/widgets/qtextedit.cpp b/src/widgets/widgets/qtextedit.cpp
index fa7ba1c524..7439005b92 100644
--- a/src/widgets/widgets/qtextedit.cpp
+++ b/src/widgets/widgets/qtextedit.cpp
@@ -1838,7 +1838,7 @@ QMenu *QTextEdit::createStandardContextMenu()
This function creates the standard context menu which is shown
when the user clicks on the text edit with the right mouse
button. It is called from the default contextMenuEvent() handler
- and it takes the \a position of where the mouse click was.
+ and it takes the \a position in document coordinates where the mouse click was.
This can enable actions that are sensitive to the position where the user clicked.
The popup menu's ownership is transferred to the caller.
*/