Remove unused variable.

This commit is contained in:
Samuel Rødal 2011-05-04 14:24:47 +02:00
parent bd8d12b7f6
commit 4cc4cb3c51
3 changed files with 0 additions and 6 deletions

View File

@ -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);
}

View File

@ -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;

View File

@ -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);
}
}