summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel
diff options
context:
space:
mode:
authorjaanttil <janne.anttila@digia.com>2011-08-24 06:10:40 (GMT)
committerQt by Nokia <qt-info@nokia.com>2012-01-31 10:30:13 (GMT)
commit686828d1b8171dfc73b07ed09510af4743935038 (patch)
treefdc8994bc20c1d7160070d46d67d5e75c3f6a47e /src/gui/kernel
parenta86d45a2f7dfdecc86504b29fb3ce504cbd35dfd (diff)
downloadQt-686828d1b8171dfc73b07ed09510af4743935038.zip
Qt-686828d1b8171dfc73b07ed09510af4743935038.tar.gz
Qt-686828d1b8171dfc73b07ed09510af4743935038.tar.bz2
Build fix to qapplication_win.cpp when QT_NO_GESTURES is used
Task-number: QTBUG-22501 Change-Id: Ica63ad7de763d9abeff7f8e76ad45f90f04db75b Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Diffstat (limited to 'src/gui/kernel')
-rw-r--r--src/gui/kernel/qapplication_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_win.cpp b/src/gui/kernel/qapplication_win.cpp
index 2d63fe5..69fe7ab 100644
--- a/src/gui/kernel/qapplication_win.cpp
+++ b/src/gui/kernel/qapplication_win.cpp
@@ -1714,8 +1714,8 @@ extern "C" LRESULT QT_WIN_CALLBACK QtWndProc(HWND hwnd, UINT message, WPARAM wPa
shrg.ptDown.x = GET_X_LPARAM(lParam);
shrg.ptDown.y = GET_Y_LPARAM(lParam);
shrg.dwFlags = SHRG_RETURNCMD | SHRG_NOANIMATION;
- resolveAygLibs();
#ifndef QT_NO_GESTURES
+ resolveAygLibs();
if (ptrRecognizeGesture && (ptrRecognizeGesture(&shrg) == GN_CONTEXTMENU)) {
if (QApplication::activePopupWidget())
QApplication::activePopupWidget()->close();