From 73ca1e58ba7aa1fe701122da21e0f76f01c0c5aa Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 2 Oct 2014 11:48:58 -0400 Subject: [PATCH] Use created variables --- openbr/plugins/stasm4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openbr/plugins/stasm4.cpp b/openbr/plugins/stasm4.cpp index 9dff4d6..799b59d 100644 --- a/openbr/plugins/stasm4.cpp +++ b/openbr/plugins/stasm4.cpp @@ -113,8 +113,8 @@ class StasmTransform : public UntrainableTransform QString l = pinEyes.at(1).toString(); if (!r.isNull() && !l.isNull() && src.file.contains(r) && src.file.contains(l)) { - rightEye = src.file.get(pinEyes.at(0).toString(), QPointF()); - leftEye = src.file.get(pinEyes.at(1).toString(), QPointF()); + rightEye = src.file.get(r, QPointF()); + leftEye = src.file.get(l, QPointF()); ok = true; } } -- libgit2 0.21.4