diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-06 17:26:43 +0100 |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-06 17:44:24 +0100 |
commit | d672ff5ddc23fe7c332d17b32378a00e21fad7b3 (patch) | |
tree | 2d6c44a817697ca7b13ff91afa1ae73bbc361dd7 /src/gui/kernel/qwinnativepangesturerecognizer_win.cpp | |
parent | 69f0cfbb9c609ac922a6d45a7ef3d75b59d23c25 (diff) | |
download | qt4-tools-d672ff5ddc23fe7c332d17b32378a00e21fad7b3.tar.gz |
Added a -no-native-gestures option for configure.exe
The option allows to disable native Windows7 gestures since they require the
creation of the native window handle. This partially disabled alien widgets
concept and make window resizing slower and more flickery.
Reviewed-by: Espen Riskedal
Diffstat (limited to 'src/gui/kernel/qwinnativepangesturerecognizer_win.cpp')
-rw-r--r-- | src/gui/kernel/qwinnativepangesturerecognizer_win.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp b/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp index 5fceb13161..7dff54317e 100644 --- a/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp +++ b/src/gui/kernel/qwinnativepangesturerecognizer_win.cpp @@ -52,6 +52,8 @@ QT_BEGIN_NAMESPACE +#if !defined(QT_NO_NATIVE_GESTURES) + QWinNativePanGestureRecognizer::QWinNativePanGestureRecognizer() { } @@ -122,4 +124,6 @@ void QWinNativePanGestureRecognizer::reset(QGesture *state) QGestureRecognizer::reset(state); } +#endif // QT_NO_NATIVE_GESTURES + QT_END_NAMESPACE |