summaryrefslogtreecommitdiffstats
path: root/src/fbbrowser.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-05 00:02:12 +0100
committerJonathan Bauer2011-03-05 00:02:12 +0100
commit200a51b6703e1296a1386d7a937fcc8d01be68ec (patch)
tree8fa3898ed957744066deec206d86b87f2517e948 /src/fbbrowser.cpp
parentCode cleanup, JSO class continued, added webkitTest.html for reference (diff)
downloadfbgui-200a51b6703e1296a1386d7a937fcc8d01be68ec.tar.gz
fbgui-200a51b6703e1296a1386d7a937fcc8d01be68ec.tar.xz
fbgui-200a51b6703e1296a1386d7a937fcc8d01be68ec.zip
little things...
Diffstat (limited to 'src/fbbrowser.cpp')
-rw-r--r--src/fbbrowser.cpp9
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);
}