diff options
Diffstat (limited to 'src/fbbrowser.cpp')
| -rw-r--r-- | src/fbbrowser.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
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); } |
