|
@@ -8,7 +8,7 @@
|
|
#include "Informations.hpp"
|
|
#include "Informations.hpp"
|
|
|
|
|
|
|
|
|
|
-Informations::Informations (QString &fts):QMainWindow(),fileToSave(fts)
|
|
|
|
|
|
+Informations::Informations (QString &ftl, QString &fts):QMainWindow(),fileToLoad(ftl), fileToSave(fts)
|
|
{
|
|
{
|
|
setWindowTitle (tr ("DSL - Draw Strength Line"));
|
|
setWindowTitle (tr ("DSL - Draw Strength Line"));
|
|
|
|
|
|
@@ -46,7 +46,8 @@ Informations::Informations (QString &fts):QMainWindow(),fileToSave(fts)
|
|
|
|
|
|
void Informations::ready(){
|
|
void Informations::ready(){
|
|
qDebug() << "Je suis prêt" << Qt::endl;
|
|
qDebug() << "Je suis prêt" << Qt::endl;
|
|
- fileToSave = "test.txt";
|
|
|
|
|
|
+ fileToLoad = "filetoLoad.json";
|
|
|
|
+ fileToSave = "fileToSave.json";
|
|
close();
|
|
close();
|
|
}
|
|
}
|
|
|
|
|