summaryrefslogtreecommitdiffstats
path: root/client/browser/main.cpp
blob: d1873ce39c9c00ed8ef4adede52e89a220987bf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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();
}