diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-07 13:29:05 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2009-07-07 13:29:05 (GMT) |
commit | 1a112561126c7f2148d91e40a6c3f52ccf506fd5 (patch) | |
tree | 7058e2cef4efe7c0ce3c99140fb3050f2e8c22bd /src/gui/kernel/qapplication_win.cpp | |
parent | e5e2f9fd5c1554337a576374ec6744f953d2404d (diff) | |
download | Qt-1a112561126c7f2148d91e40a6c3f52ccf506fd5.zip Qt-1a112561126c7f2148d91e40a6c3f52ccf506fd5.tar.gz Qt-1a112561126c7f2148d91e40a6c3f52ccf506fd5.tar.bz2 |
Getting rid of compiler warnings on windows
Diffstat (limited to 'src/gui/kernel/qapplication_win.cpp')
-rw-r--r-- | src/gui/kernel/qapplication_win.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp index 13f19a3..e0eda82 100644 --- a/src/gui/kernel/qapplication_win.cpp +++ b/src/gui/kernel/qapplication_win.cpp @@ -3940,13 +3940,11 @@ void QApplicationPrivate::cleanupMultitouch_sys() bool QApplicationPrivate::translateTouchEvent(const MSG &msg) { - Q_Q(QApplication); - QWidget *widgetForHwnd = QWidget::find(msg.hwnd); if (!widgetForHwnd) return false; - QRect screenGeometry = q->desktop()->screenGeometry(widgetForHwnd); + QRect screenGeometry = QApplication::desktop()->screenGeometry(widgetForHwnd); QList<QTouchEvent::TouchPoint> touchPoints; |