Changed daemon to auto disconnect if network connection was initialized by itself.
[jenirok] / src / daemon / calllistener.h
index 346b6f5..8d098c8 100644 (file)
@@ -31,7 +31,6 @@
 
 class CallListener: public QObject
 {
-
     Q_OBJECT
 
 public:
@@ -40,7 +39,7 @@ public:
     void begin();
     void end();
     static const int REQUEST_TIMEOUT = 10000;
-    static const int BANNER_DELAY = 300;
+    static const int BANNER_DELAY = 400;
     static const int NUMBER_OF_RETRIES = 3;
 
 private slots:
@@ -65,7 +64,7 @@ private:
     QLabel* label_;
     static QDBusConnection systemBus_;
     int retries_;
-    Eniro::SearchDetails currentSearch_;
+    QString currentSearch_;
 };
 
 #endif // CALLLISTENER_H