logsui/logsapp/src/logsmainwindow.cpp
changeset 8 6c9acdc6adc0
parent 0 4a5361db8937
child 9 68f3171a5819
--- a/logsui/logsapp/src/logsmainwindow.cpp	Fri Jun 11 13:38:41 2010 +0300
+++ b/logsui/logsapp/src/logsmainwindow.cpp	Thu Jun 24 14:44:14 2010 +0300
@@ -17,7 +17,6 @@
 
 #include "logsmainwindow.h"
 #include "logslogger.h"
-#include "logsforegroundwatcher.h"
 #include <QKeyEvent>
 #include <xqserviceutil.h>
 
@@ -27,12 +26,6 @@
 //
 LogsMainWindow::LogsMainWindow() : HbMainWindow(), mForeground(false)
 {
-    if ( viewport() ){
-        viewport()->grabGesture(Qt::SwipeGesture);
-    }
-    mWatcher = new LogsForegroundWatcher(this);
-    connect( mWatcher, SIGNAL(losingForeground()), this, SIGNAL(appFocusLost()) );
-    connect( mWatcher, SIGNAL(gainingForeground()), this, SIGNAL(appFocusGained()) );
 }
 
 // -----------------------------------------------------------------------------
@@ -41,9 +34,6 @@
 //
 LogsMainWindow::~LogsMainWindow()
 {
-    if ( viewport() ){
-        viewport()->ungrabGesture(Qt::SwipeGesture);
-    }
 }
 
 // -----------------------------------------------------------------------------