From 73fcb96940c9e7ca668b74255cede0f117a23aa1 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Fri, 22 Feb 2013 15:52:00 -0500 Subject: [PATCH] Fixed deep copy --- sdk/plugins/stasm.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sdk/plugins/stasm.cpp b/sdk/plugins/stasm.cpp index 8946179..377fb60 100644 --- a/sdk/plugins/stasm.cpp +++ b/sdk/plugins/stasm.cpp @@ -49,10 +49,9 @@ class StasmTransform : public UntrainableTransform if (nlandmarks == 0) qFatal("Unable to detect Stasm landmarks"); + dst = src; for (int i = 0; i < nlandmarks; i++) dst.file.appendLandmark(QPointF(landmarks[2 * i], landmarks[2 * i + 1])); - - dst.m() = src.m().clone(); } }; -- libgit2 0.21.4