Changed loading banner to show instantly when call is coming.
authoreshe <jessehakanen@gmail.com>
Fri, 4 Jun 2010 21:55:06 +0000 (22:55 +0100)
committereshe <jessehakanen@gmail.com>
Fri, 4 Jun 2010 21:55:06 +0000 (22:55 +0100)
Makefile
src/daemon/calllistener.cpp

index a5cdae3..9619b44 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 #############################################################################
 # Makefile for building: jenirok
-# Generated by qmake (2.01a) (Qt 4.6.2) on: Sat Jun 5 10:22:03 2010
+# Generated by qmake (2.01a) (Qt 4.6.2) on: Fri Jun 4 22:53:04 2010
 # Project:  jenirok.pro
 # Template: subdirs
 # Command: /usr/bin/qmake -unix -o Makefile jenirok.pro
index d53da0a..7990f8a 100644 (file)
@@ -114,6 +114,8 @@ void CallListener::search(Eniro::SearchDetails const& details)
         retries_ = 0;
         currentSearch_ = details.query;
 
+        showDelayedResult(tr("Searching..."), BANNER_DELAY);
+
         if(!connectionManager_->isConnected())
         {
             connectionManager_->connect();
@@ -124,8 +126,6 @@ void CallListener::search(Eniro::SearchDetails const& details)
             closeConnection_ = false;
         }
 
-        showDelayedResult(tr("Searching..."), BANNER_DELAY);
-
         qDebug() << "Starting to search...";
 
         eniro_->search(details);