summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-14 08:52:22 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-14 08:52:22 (GMT)
commit3b7d6e9472988dd55b03a2be3b0f36553ba4a3cd (patch)
tree7b434be8baafcb6864f0dcb952cc1475a6584d4a
parent09efca463b23dc4f9da6404711dfed0f9ae1001e (diff)
Set the appropiate FITS view type
-rw-r--r--kstars/ekos/focus/focus.cpp2
-rw-r--r--kstars/ekos/guide/guide.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kstars/ekos/focus/focus.cpp b/kstars/ekos/focus/focus.cpp
index 6a4d852..326ccec 100644
--- a/kstars/ekos/focus/focus.cpp
+++ b/kstars/ekos/focus/focus.cpp
@@ -232,7 +232,7 @@ Focus::Focus()
connect(thresholdSpin, SIGNAL(valueChanged(double)), this, SLOT(setThreshold(double)));
//connect(focusFramesSpin, SIGNAL(valueChanged(int)), this, SLOT(setFrames(int)));
- focusView = new FITSView(focusingWidget);
+ focusView = new FITSView(focusingWidget, FITS_FOCUS);
focusView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
focusView->setBaseSize(focusingWidget->size());
QVBoxLayout *vlayout = new QVBoxLayout();
diff --git a/kstars/ekos/guide/guide.cpp b/kstars/ekos/guide/guide.cpp
index 9ab1093..0a44b97 100644
--- a/kstars/ekos/guide/guide.cpp
+++ b/kstars/ekos/guide/guide.cpp
@@ -75,7 +75,7 @@ Guide::Guide() : QWidget()
// To do calibrate + guide in one command
autoCalibrateGuide = false;
- guideView = new FITSView(guideWidget);
+ guideView = new FITSView(guideWidget, FITS_GUIDE);
guideView->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
guideView->setBaseSize(guideWidget->size());
QVBoxLayout *vlayout = new QVBoxLayout();