Clarify QTextEdit::createStandardContextMenu(QPoint) docs

It assumes document coordinates.

Change-Id: I9c1db154d45053065533c10bf76c338cc1324081
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
This commit is contained in:
J-P Nurmi 2015-02-05 12:24:49 +01:00 committed by Marc Mutz
parent 8bccf93300
commit 6617da3bf9

View File

@ -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.
*/