summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-07-19 20:51:24 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-07-19 20:51:24 (GMT)
commitbfe3ef4090a45875798e9bff905718d3087a9174 (patch)
tree7ae9da6d33f9853bfb66df88ef4dc9b4cae8b97e
parent635296e1239b7a55b8beaadd523f8a5157e8e41d (diff)
No need to set tracking box size twice
-rw-r--r--kstars/ekos/guide/rcalibration.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/kstars/ekos/guide/rcalibration.cpp b/kstars/ekos/guide/rcalibration.cpp
index eb6d6e8..b626430 100644
--- a/kstars/ekos/guide/rcalibration.cpp
+++ b/kstars/ekos/guide/rcalibration.cpp
@@ -352,9 +352,10 @@ bool rcalibration::startCalibration()
}
void rcalibration::processCalibration()
-{
- if (pmath->get_image())
- pmath->get_image()->setTrackingBoxSize(QSize(pmath->get_square_size(), pmath->get_square_size()));
+{
+ //if (pmath->get_image())
+ //guide_frame->setTrackingBox(QRect(pmath-> square_pos.x, square_pos.y, square_size*2, square_size*2));
+ //pmath->get_image()->setTrackingBoxSize(QSize(pmath->get_square_size(), pmath->get_square_size()));
if (pmath->is_lost_star())
{