summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-01-27 18:18:56 +0100
committerJonathan Bauer2011-01-27 18:18:56 +0100
commitd7b3217e900faf29857abdac39f3d94829c0a50e (patch)
treeff26cdc7bb3c91d280389ddc631b4b380f81d5d4 /src/fbgui.cpp
parentremove absolute path from test script .. (diff)
downloadfbgui-d7b3217e900faf29857abdac39f3d94829c0a50e.tar.gz
fbgui-d7b3217e900faf29857abdac39f3d94829c0a50e.tar.xz
fbgui-d7b3217e900faf29857abdac39f3d94829c0a50e.zip
Started the download functionality, imcomplete though...
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index 6ed8eec..1f08454 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -1,6 +1,5 @@
#include "fbbrowser.h"
-#include <QtGui>
#include <QApplication>
#include <iostream>
#include <getopt.h>
@@ -23,7 +22,7 @@ void printUsage()
exit(1);
}
-// This function returns the path of the application as a string.
+// This function returns the path of the application as a QString.
QString getPath()
{
char result[ PATH_MAX ];
@@ -68,6 +67,7 @@ int main(int argc, char *argv[])
// Is this really needed, since we kill the app through the fbbrowser object?
QObject::connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit()));
// This part reads the URL to load from the arguments given through the commandline.
+ qDebug() << "Number of Arguments:" << argc << endl;
QUrl url;
if (argc > 1)
url = QUrl(argv[1]);