logsui/logsapp/src/logsmainwindow.cpp
changeset 25 76a2435edfd4
parent 24 0ba2181d7c28
--- a/logsui/logsapp/src/logsmainwindow.cpp	Fri Mar 19 09:27:18 2010 +0200
+++ b/logsui/logsapp/src/logsmainwindow.cpp	Fri Apr 16 14:53:18 2010 +0300
@@ -27,7 +27,9 @@
 //
 LogsMainWindow::LogsMainWindow() : HbMainWindow()
 {
-
+    if ( viewport() ){
+        viewport()->grabGesture(Qt::SwipeGesture);
+    }
 }
 
 // -----------------------------------------------------------------------------
@@ -36,7 +38,9 @@
 //
 LogsMainWindow::~LogsMainWindow()
 {
-
+    if ( viewport() ){
+        viewport()->ungrabGesture(Qt::SwipeGesture);
+    }
 }
 
 // -----------------------------------------------------------------------------