summaryrefslogtreecommitdiffstats
path: root/src/fbgui.cpp
diff options
context:
space:
mode:
authorJonathan Bauer2011-03-05 16:28:18 +0100
committerJonathan Bauer2011-03-05 16:28:18 +0100
commit978f4863eb2e95a9520246c28d18fbc4f340f1a5 (patch)
tree8ef652c7beffd2e44b342550a4713ef0a214bd1f /src/fbgui.cpp
parentCommand line options parsing moved to its own class, in preparation for Settings (diff)
downloadfbgui-978f4863eb2e95a9520246c28d18fbc4f340f1a5.tar.gz
fbgui-978f4863eb2e95a9520246c28d18fbc4f340f1a5.tar.xz
fbgui-978f4863eb2e95a9520246c28d18fbc4f340f1a5.zip
misc.
Diffstat (limited to 'src/fbgui.cpp')
-rw-r--r--src/fbgui.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/fbgui.cpp b/src/fbgui.cpp
index 5552643..cc10f20 100644
--- a/src/fbgui.cpp
+++ b/src/fbgui.cpp
@@ -6,11 +6,6 @@
#include <QApplication>
#include <QSettings>
-//#include <getopt.h>
-//#include <limits.h>
-//#include <unistd.h>
-
-
void printUsage()
{
// Prints usage information.
@@ -27,11 +22,11 @@ void printUsage()
int main(int argc, char *argv[])
{
/* SETTINGS TEST */
- //CommandLineOptions clOptions(argc, argv);
+ CommandLineOptions clOptions(argc, argv);
// TODO: parse url arg from CommmandLineOptions object.
// hackfix for now...
- QUrl url(argv[4]);
+ QUrl url = QUrl(argv[4]);
QUrl defaultUrl = QUrl("http://132.230.4.3/webkitTest.html");
qDebug() << "URL given: " << url.toString();