Get rid of qt_qpa_set_cursor from QGuiApplication for now.
This commit is contained in:
parent
34af023e06
commit
72409addf2
@ -718,7 +718,6 @@ void QGuiApplication::changeOverrideCursor(const QCursor &cursor)
|
||||
void QGuiApplication::setOverrideCursor(const QCursor &cursor)
|
||||
{
|
||||
qGuiApp->d_func()->cursor_list.prepend(cursor);
|
||||
qt_qpa_set_cursor(0, false);
|
||||
}
|
||||
|
||||
void QGuiApplication::restoreOverrideCursor()
|
||||
@ -726,7 +725,6 @@ void QGuiApplication::restoreOverrideCursor()
|
||||
if (qGuiApp->d_func()->cursor_list.isEmpty())
|
||||
return;
|
||||
qGuiApp->d_func()->cursor_list.removeFirst();
|
||||
qt_qpa_set_cursor(0, false);
|
||||
}
|
||||
#endif// QT_NO_CURSOR
|
||||
|
||||
|
@ -160,9 +160,6 @@ private:
|
||||
static QGuiApplicationPrivate *self;
|
||||
};
|
||||
|
||||
class QWidget;
|
||||
extern void qt_qpa_set_cursor(QWidget *, bool);
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
QT_END_HEADER
|
||||
|
@ -618,6 +618,8 @@ Q_GUI_EXPORT void qt_translateRawTouchEvent(QWidget *window,
|
||||
extern void qt_x11_enforce_cursor(QWidget *);
|
||||
#elif defined(Q_OS_SYMBIAN)
|
||||
extern void qt_symbian_set_cursor(QWidget *, bool);
|
||||
#else
|
||||
extern void qt_qpa_set_cursor(QWidget * w, bool force);
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
Loading…
x
Reference in New Issue
Block a user