summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
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]);