Volviendo version anterior por un error.

git-svn-id: https://opengnsys.es/svn/trunk@829 a21b9725-9963-47de-94b9-378ad31fedc9
remotes/github/master
adelcastillo 2010-03-21 12:58:42 +00:00
parent c1e4a932fc
commit 3648efed36
1 changed files with 10 additions and 5 deletions

View File

@ -1,11 +1,16 @@
#include <QtGui/QApplication>
#include "core.h"
#include <stdio.h>
#include <QDebug>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
Core* core=new Core();
return a.exec();
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();
}