Remove unused variable.
This commit is contained in:
parent
bd8d12b7f6
commit
4cc4cb3c51
@ -84,7 +84,6 @@ bool QGuiApplicationPrivate::app_do_modal = false;
|
||||
|
||||
int qt_last_x = 0;
|
||||
int qt_last_y = 0;
|
||||
QPointer<QWidget> QGuiApplicationPrivate::qt_last_mouse_receiver = 0;
|
||||
|
||||
QWidgetList QGuiApplicationPrivate::qt_modal_stack;
|
||||
|
||||
@ -666,8 +665,6 @@ void QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyE
|
||||
|
||||
void QGuiApplicationPrivate::processEnterEvent(QWindowSystemInterfacePrivate::EnterEvent *e)
|
||||
{
|
||||
// QGuiApplicationPrivate::dispatchEnterLeave(e->enter.data(),0);
|
||||
// qt_last_mouse_receiver = e->enter.data();
|
||||
QEvent event(QEvent::Enter);
|
||||
QApplication::sendSpontaneousEvent(e->enter.data(), &event);
|
||||
}
|
||||
|
@ -120,8 +120,6 @@ public:
|
||||
|
||||
static bool app_do_modal;
|
||||
|
||||
static QPointer<QWidget> qt_last_mouse_receiver;
|
||||
|
||||
static QWidgetList qt_modal_stack;
|
||||
|
||||
static Qt::MouseButtons buttons;
|
||||
|
@ -104,7 +104,6 @@ void QWidgetWindow::handleEnterLeaveEvent(QEvent *event)
|
||||
} else {
|
||||
QApplicationPrivate::dispatchEnterLeave(m_widget, 0);
|
||||
qt_last_mouse_receiver = m_widget;
|
||||
printf("Enter event: %p\n", m_widget);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user