query.bindValue(":street", result.street);
query.bindValue(":city", result.city);
+ qDebug() << result.number << result.name << result.street << result.city;
+
if(!query.exec())
{
+ qDebug() << "Unable to add item to cache";
ret = false;
}
pendingLoginRequests_.end())
{
emit loginStatus(false);
-
}
}
void Source::httpReady(int id, bool error)
{
-
if(error)
{
if(http_.error() == QHttp::Aborted)
cm.disconnect(true);
}*/
+ qDebug() << "Request finished";
+
// If box is not visible, the call must have been terminated already
if(!initialized_ || !box_->isVisible() || !currentCall_)
{
if(cm.isConnected())
{
+ cm.connect();
closeConnection_ = false;
return true;
}
~CallListener();
bool begin();
void end();
- static const int REQUEST_TIMEOUT = 10000;
+ static const int REQUEST_TIMEOUT = 8000;
static const int BANNER_DELAY = 350;
static const int SEARCH_RETRIES = 2;
static const int CONNECT_RETRIES = 1;