Skip to content

Commit

Permalink
Doc: Move overrideCursor() from QApplication to QGuiApplication
Browse files Browse the repository at this point in the history
The transfer occurred in Qt 5

Pick-to: 5.15 6.1 6.2
Change-Id: Id3428809d89c804112d9dc02f2a476cb03bd2c98
Reviewed-by: Paul Wicking <[email protected]>
  • Loading branch information
JKSH committed Jun 18, 2021
1 parent aeeaa7d commit d254af9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/widgets/graphicsview/qgraphicsitem.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/****************************************************************************
**
** Copyright (C) 2016 The Qt Company Ltd.
** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtWidgets module of the Qt Toolkit.
Expand Down Expand Up @@ -2271,7 +2271,7 @@ void QGraphicsItem::setToolTip(const QString &toolTip)
If no cursor has been set, the cursor of the item beneath is used.
\sa setCursor(), hasCursor(), unsetCursor(), QWidget::cursor,
QApplication::overrideCursor()
QGuiApplication::overrideCursor()
*/
QCursor QGraphicsItem::cursor() const
{
Expand All @@ -2291,7 +2291,7 @@ QCursor QGraphicsItem::cursor() const
If no cursor has been set, the cursor of the item beneath is used.
\sa cursor(), hasCursor(), unsetCursor(), QWidget::cursor,
QApplication::overrideCursor()
QGuiApplication::overrideCursor()
*/
void QGraphicsItem::setCursor(const QCursor &cursor)
{
Expand Down

0 comments on commit d254af9

Please sign in to comment.