diff options
author | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-24 14:21:15 (GMT) |
---|---|---|
committer | Denis Dzyubenko <denis.dzyubenko@nokia.com> | 2009-11-24 14:22:25 (GMT) |
commit | e6d6ed97a3dd2e7ec5c95d760b0db47ad6e45250 (patch) | |
tree | 9fe21837f7907bb91ea97ac1e21785c0370a0bab | |
parent | 995629aba904f730b773b5a811e74f63ea0ff517 (diff) | |
download | Qt-e6d6ed97a3dd2e7ec5c95d760b0db47ad6e45250.zip Qt-e6d6ed97a3dd2e7ec5c95d760b0db47ad6e45250.tar.gz Qt-e6d6ed97a3dd2e7ec5c95d760b0db47ad6e45250.tar.bz2 |
We don't need to initialize multitouch in non-gui applications.
Reviewed-by: trustme
Patch-by: raipriha
-rw-r--r-- | src/gui/kernel/qapplication.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp index 4764a2d..9f4cd0c 100644 --- a/src/gui/kernel/qapplication.cpp +++ b/src/gui/kernel/qapplication.cpp @@ -933,7 +933,8 @@ void QApplicationPrivate::initialize() QApplicationPrivate::wheel_scroll_lines = 3; #endif - initializeMultitouch(); + if (qt_is_gui_used) + initializeMultitouch(); } /*! |