From d7b3217e900faf29857abdac39f3d94829c0a50e Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 27 Jan 2011 18:18:56 +0100 Subject: Started the download functionality, imcomplete though... --- src/fbgui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fbgui.cpp') 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 #include #include #include @@ -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]); -- cgit v1.2.3-55-g7522