webengine/webkitutils/stmgesturefw/src/tapgesturerecogniser.cpp
branchRCL_3
changeset 92 e1bea15f9a39
parent 42 d39add9822e2
--- a/webengine/webkitutils/stmgesturefw/src/tapgesturerecogniser.cpp	Thu Jul 15 19:53:20 2010 +0300
+++ b/webengine/webkitutils/stmgesturefw/src/tapgesturerecogniser.cpp	Thu Aug 19 10:58:56 2010 +0300
@@ -67,10 +67,10 @@
 CTapGestureRecogniser::CTapGestureRecogniser(MGestureListener* aListener) :
     CTimer(EPriorityRealTime - 1)
 {
-    m_powner = aListener->getOwner() ;
     // if a listener is given here, then it is both tap and doubletap listener
     if (aListener)
     {
+        m_powner = aListener->getOwner() ;
         addTapListener(aListener, m_powner) ;
         addDoubleTapListener(aListener, m_powner) ;
     }