Index: sources/view/VCreateTreatment.cpp =================================================================== diff -u -rad32b29628ec7cd08892496cdad0afc8aeb166cf -r0622f1ec79b9a24a3f9d58cd2de329df997b37d6 --- sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision ad32b29628ec7cd08892496cdad0afc8aeb166cf) +++ sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision 0622f1ec79b9a24a3f9d58cd2de329df997b37d6) @@ -22,6 +22,9 @@ connect(&_GuiController, SIGNAL(didActionReceive(GuiActionType,QVariantList)), this, SLOT(onFWValidationResponse(GuiActionType,QVariantList))); loadTreatmentParameterRanges(); + + connect(this, SIGNAL(requestConcurrentSave(QString,QString,bool)), + &_FileSaver, SLOT(onConcurrentSave(QString,QString,bool))); } /** @@ -374,7 +377,7 @@ i++; } QString filename = QString("%0treatment%1.json").arg(dir).arg(i); - _FileSaver.concurrentSave(filename, document.toJson(), false); + emit requestConcurrentSave(filename, document.toJson(), false); return filename; }