Volviendo version anterior por un error.
git-svn-id: https://opengnsys.es/svn/trunk@829 a21b9725-9963-47de-94b9-378ad31fedc9remotes/github/master
parent
c1e4a932fc
commit
3648efed36
15
src/main.cpp
15
src/main.cpp
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue