summaryrefslogtreecommitdiffstats
path: root/src/fbbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fbbrowser.cpp')
-rw-r--r--src/fbbrowser.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fbbrowser.cpp b/src/fbbrowser.cpp
index 5495a78..2e4fee6 100644
--- a/src/fbbrowser.cpp
+++ b/src/fbbrowser.cpp
@@ -3,8 +3,9 @@
#include <QtWebKit>
#include <QApplication>
-void fbbrowser::httpReadyRead()
+void fbbrowser::httpReqFinished()
{
+ // TODO: fix this up..
// This slot listens to readyRead() signal from our QNetworkReply.
qDebug() << "finished() signal emmited!" << endl;
if(reply->error() == QNetworkReply::NoError)
@@ -28,7 +29,7 @@ fbbrowser::fbbrowser(const QUrl & url)
// Let the manager send the request and receive the reply.
// QNetworkReply *reply = manager->get(request);
reply = manager->get(request);
- connect(reply, SIGNAL(finished()), this, SLOT(httpReadyRead()));
+ connect(reply, SIGNAL(finished()), this, SLOT(httpReqFinished()));
//connect(reply, SIGNAL(finished()), this, SLOT());
// Check if the reply is an error message.