diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-04 14:24:47 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-05-04 14:35:36 +0200 |
commit | 4cc4cb3c51b118728b65f61b900459a38b885f2b (patch) | |
tree | f2d53430f4a8ea84f8879e0e13cea6887303386f /src/gui | |
parent | bd8d12b7f68ea8aa05a86cc9ed65dd660a6b075d (diff) |
Remove unused variable.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/guikernel/qguiapplication.cpp | 3 | ||||
-rw-r--r-- | src/gui/guikernel/qguiapplication_p.h | 2 | ||||
-rw-r--r-- | src/gui/kernel/qwidgetwindow_qpa.cpp | 1 |
3 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/guikernel/qguiapplication.cpp b/src/gui/guikernel/qguiapplication.cpp index ceff68f6fd..f5be52e053 100644 --- a/src/gui/guikernel/qguiapplication.cpp +++ b/src/gui/guikernel/qguiapplication.cpp @@ -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); } diff --git a/src/gui/guikernel/qguiapplication_p.h b/src/gui/guikernel/qguiapplication_p.h index 2cc2e54f6c..76f6e827b8 100644 --- a/src/gui/guikernel/qguiapplication_p.h +++ b/src/gui/guikernel/qguiapplication_p.h @@ -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; diff --git a/src/gui/kernel/qwidgetwindow_qpa.cpp b/src/gui/kernel/qwidgetwindow_qpa.cpp index 4d79246925..3e062892fa 100644 --- a/src/gui/kernel/qwidgetwindow_qpa.cpp +++ b/src/gui/kernel/qwidgetwindow_qpa.cpp @@ -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); } } |