--- 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);
+ }
}
// -----------------------------------------------------------------------------