diff options
author | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2016-07-27 14:24:21 +0200 |
---|---|---|
committer | Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com> | 2016-08-19 08:04:43 +0000 |
commit | a23b71d2d020505a2bc11adbbcfb0516319291c2 (patch) | |
tree | 6021ea204372c3033db051804076416abbf10fac /src | |
parent | ce7df6ac7d8176ffaee07052089e8f24b6559ff4 (diff) |
Remove QPlatformCursorPrivate
It was unused.
Change-Id: I890fe2512355a691d693a26b599797a7dc7b06e2
Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/kernel/qplatformcursor.cpp | 10 | ||||
-rw-r--r-- | src/gui/kernel/qplatformcursor.h | 8 |
2 files changed, 0 insertions, 18 deletions
diff --git a/src/gui/kernel/qplatformcursor.cpp b/src/gui/kernel/qplatformcursor.cpp index c644d4769a..af0214e016 100644 --- a/src/gui/kernel/qplatformcursor.cpp +++ b/src/gui/kernel/qplatformcursor.cpp @@ -49,16 +49,6 @@ QT_BEGIN_NAMESPACE -QList<QPlatformCursor *> QPlatformCursorPrivate::getInstances() -{ - QList<QPlatformCursor *> result; - for (const QScreen *screen : qAsConst(QGuiApplicationPrivate::screen_list)) { - if (QPlatformCursor *cursor = screen->handle()->cursor()) - result.push_back(cursor); - } - return result; -} - /*! \class QPlatformCursor \since 5.0 diff --git a/src/gui/kernel/qplatformcursor.h b/src/gui/kernel/qplatformcursor.h index f9c1607663..dddd9e5831 100644 --- a/src/gui/kernel/qplatformcursor.h +++ b/src/gui/kernel/qplatformcursor.h @@ -76,13 +76,6 @@ private: QPoint hot; }; -class QPlatformCursor; - -class Q_GUI_EXPORT QPlatformCursorPrivate { -public: - static QList<QPlatformCursor *> getInstances(); -}; - class Q_GUI_EXPORT QPlatformCursor : public QObject { public: QPlatformCursor(); @@ -96,7 +89,6 @@ public: virtual void setPos(const QPoint &pos); private: - Q_DECLARE_PRIVATE(QPlatformCursor) friend void qt_qpa_set_cursor(QWidget * w, bool force); friend class QApplicationPrivate; }; |