From 0af3d645aa8497392ab6bcf176c5cbf538a76240 Mon Sep 17 00:00:00 2001 From: eshe Date: Fri, 4 Jun 2010 22:55:06 +0100 Subject: [PATCH] Changed loading banner to show instantly when call is coming. --- Makefile | 2 +- src/daemon/calllistener.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index a5cdae3..9619b44 100644 --- 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 diff --git a/src/daemon/calllistener.cpp b/src/daemon/calllistener.cpp index d53da0a..7990f8a 100644 --- a/src/daemon/calllistener.cpp +++ b/src/daemon/calllistener.cpp @@ -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); -- 1.7.9.5