X-Git-Url: http://git.maemo.org/git/?p=groove;a=blobdiff_plain;f=gscom.cpp;h=9506ed8786af504201de1f23a32de7b1802acb4c;hp=7777127153972a0d255e77da3e055834e9f60540;hb=a20498e05a0b00c41521182cf972294d9ae1269f;hpb=07538fcc6f50357245aec47f12da46d1cc4111dd;ds=sidebyside diff --git a/gscom.cpp b/gscom.cpp index 7777127..9506ed8 100644 --- a/gscom.cpp +++ b/gscom.cpp @@ -174,6 +174,8 @@ void gscom::replyFinished(QNetworkReply *reply) if(cookie.name() == "PHPSESSID") { phpSession = new QString(cookie.value()); + qDebug() << QDateTime::currentDateTime(); + qDebug() << cookie.expirationDate(); } } reply->readAll(); @@ -197,6 +199,7 @@ void gscom::replyFinished(QNetworkReply *reply) sessionKey = new QString(result["result"].toString()); qDebug() << sessionKey->toAscii(); } + qDebug() << result; currentaction = none; reply->close(); emit finishedSearch(); @@ -216,6 +219,7 @@ void gscom::replyFinished(QNetworkReply *reply) currentaction = getPHP; manager->get(QNetworkRequest(QUrl(QString("http://") + GS_LISTEN))); qDebug() << reply->readAll(); + qDebug() << result; reply->close(); return; }