From 200a51b6703e1296a1386d7a937fcc8d01be68ec Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Sat, 5 Mar 2011 00:02:12 +0100 Subject: little things... --- src/fbbrowser.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/fbbrowser.cpp') diff --git a/src/fbbrowser.cpp b/src/fbbrowser.cpp index 535907e..6c7f642 100644 --- a/src/fbbrowser.cpp +++ b/src/fbbrowser.cpp @@ -23,9 +23,9 @@ fbbrowser::fbbrowser(const QUrl & url) // Let the manager send the request and receive the reply. reply = manager->get(request); // TODO: error differentiation - // reply->error() returns 0 even for invalid URL. - // A possibility to check for validity, is to listen to readyRead() - // signal, haven't found a better way yet ... + // reply->error() returns 0 even for invalid URL. + // A possibility to check for validity, is to listen to readyRead() + // signal, haven't found a better way yet ... if(reply->error() == QNetworkReply::NoError) { //qDebug() << "No error, loading given URL..."; @@ -50,9 +50,8 @@ fbbrowser::fbbrowser(const QUrl & url) QObject::connect(jso, SIGNAL(downloadFile(QString)), dm, SLOT(downloadFile(QString))); QObject::connect(dm, SIGNAL(updateProgress(int)), jso, SLOT(updateProgressSlot(int))); - //remove the window decoration + // Remove the window decoration, form to fullscreen, central view? this->setWindowFlags(Qt::SplashScreen); - //set form to fullscreen this->showFullScreen(); setCentralWidget(view); } -- cgit v1.2.3-55-g7522