X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=blobdiff_plain;f=src%2Fcore%2FFunction.cxx;fp=src%2Fcore%2FFunction.cxx;h=c4dc9854d9853a48816a0c4cb20bb284afb6eca5;hp=781940ce71ddef42c7243ed63096f5d3155da590;hb=67fac0f473ce6fe7c3d8e5d44d47e22c84eeacba;hpb=80d9020590b9756ed614b0fbf877b7ddce6d64d3 diff --git a/src/core/Function.cxx b/src/core/Function.cxx index 781940c..c4dc985 100644 --- a/src/core/Function.cxx +++ b/src/core/Function.cxx @@ -49,7 +49,8 @@ Function* Function::deserialize(QXmlStreamReader& stream, InformationManager* ma } } + fun->name = name.toStdString(); manager->finishFunction(fun); - fun->setName(name.toStdString()); + return fun; }