diff options
Diffstat (limited to 'fbbrowser/main.cpp')
| -rw-r--r-- | fbbrowser/main.cpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/fbbrowser/main.cpp b/fbbrowser/main.cpp new file mode 100644 index 0000000..a95626b --- /dev/null +++ b/fbbrowser/main.cpp @@ -0,0 +1,20 @@ +#include "fbbrowser.h" + +#include <QtGui> +#include <QApplication> + +int main(int argc, char *argv[]) +{ + QApplication a(argc, argv); + a.connect(&a, SIGNAL(lastWindowClosed()), &a, SLOT(quit())); + + QUrl url; + if (argc > 1) + url = QUrl(argv[1]); + else //Default + url = QUrl("http://132.230.4.3/webkitTest.html"); + + fbbrowser *w = new fbbrowser(url); + w->show(); + return a.exec(); +} |
