logsui/logsapp/src/logsmainwindow.cpp
changeset 10 b04270301d3b
parent 0 4a5361db8937
child 11 64a47b97e1e1
--- a/logsui/logsapp/src/logsmainwindow.cpp	Fri Jun 11 13:38:41 2010 +0300
+++ b/logsui/logsapp/src/logsmainwindow.cpp	Wed Jun 23 18:13:05 2010 +0300
@@ -17,7 +17,6 @@
 
 #include "logsmainwindow.h"
 #include "logslogger.h"
-#include "logsforegroundwatcher.h"
 #include <QKeyEvent>
 #include <xqserviceutil.h>
 
@@ -30,9 +29,6 @@
     if ( viewport() ){
         viewport()->grabGesture(Qt::SwipeGesture);
     }
-    mWatcher = new LogsForegroundWatcher(this);
-    connect( mWatcher, SIGNAL(losingForeground()), this, SIGNAL(appFocusLost()) );
-    connect( mWatcher, SIGNAL(gainingForeground()), this, SIGNAL(appFocusGained()) );
 }
 
 // -----------------------------------------------------------------------------