diff options
Diffstat (limited to 'client/browser/src/main.cpp')
-rw-r--r-- | client/browser/src/main.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/client/browser/src/main.cpp b/client/browser/src/main.cpp new file mode 100644 index 00000000..d1873ce3 --- /dev/null +++ b/client/browser/src/main.cpp @@ -0,0 +1,17 @@ +#include <QtGui/QApplication> +#include <stdio.h> +#include "mainwindow.h" + +int main(int argc, char *argv[]) +{ + if(argc<=1) + { + printf("Usage: %s http://siteweb.com/\n",argv[0]); + return -1; + } + + QApplication a(argc, argv); + MainWindow w; + w.show(); + return a.exec(); +} |