Index: sources/view/VCreateTreatment.cpp =================================================================== diff -u -rf3b164487b1648637f5dd9a306cb6ade763d27c9 -ra19862d191c2501faa4e8cde64804ef18b80c6b3 --- sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision f3b164487b1648637f5dd9a306cb6ade763d27c9) +++ sources/view/VCreateTreatment.cpp (.../VCreateTreatment.cpp) (revision a19862d191c2501faa4e8cde64804ef18b80c6b3) @@ -262,7 +262,7 @@ * \param messageData The message data must contain the reject reason codes for all parameters * \returns True if FW OK's treatment parameters, false otherwise */ -bool VCreateTreatment::onFWValidationResponse(GuiActionType actionType, QVariantList messageData) { +bool VCreateTreatment::onFWValidationResponse(const GuiActionType &actionType, const QVariantList &messageData) { if (actionType != GuiActionType::ID_CreateTreatmentRsp) return false;