Fix path loading
This commit is contained in:
parent
2b07de57d0
commit
0e5b7e3743
8
main.cpp
8
main.cpp
@ -3,17 +3,13 @@
|
|||||||
#include <QApplication>
|
#include <QApplication>
|
||||||
#include <step.h>
|
#include <step.h>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <web.h>
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
MainWindow w;
|
MainWindow w;
|
||||||
QStringList fichiers = {"data/parcours1.json", "data/parcours2.json"};
|
|
||||||
w.loadAndExportPaths(fichiers);
|
|
||||||
Web u(w.getPath());
|
|
||||||
u.siteHtml();
|
|
||||||
|
|
||||||
w.show();
|
w.show();
|
||||||
|
|
||||||
return a.exec();
|
return a.exec();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user