summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-14 17:39:10 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-14 17:39:10 (GMT)
commitd40a345fd27d6047a75031027ead8092970552d6 (patch)
tree1bd484d3106839a4fed47b0c913e1d66e4ca80c6
parent630156c49947ad3331791dbe352a52b649aaa4a4 (diff)
Set dome device in capture module
-rw-r--r--kstars/ekos/ekosmanager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/kstars/ekos/ekosmanager.cpp b/kstars/ekos/ekosmanager.cpp
index 2e3a390..0ad41f0 100644
--- a/kstars/ekos/ekosmanager.cpp
+++ b/kstars/ekos/ekosmanager.cpp
@@ -972,6 +972,9 @@ void EkosManager::setDome(ISD::GDInterface *domeDevice)
domeProcess->setDome(domeDevice);
+ if (captureProgress)
+ captureProcess->setDome(domeDevice);
+
appendLogText(i18n("%1 is online.", domeDevice->getDeviceName()));
}
@@ -1374,6 +1377,11 @@ void EkosManager::initCapture()
connect(captureProcess, SIGNAL(meridianFlipCompleted()), mountProcess, SLOT(enableAltLimits()), Qt::UniqueConnection);
}
+ if (managedDevices.contains(KSTARS_DOME))
+ {
+ captureProcess->setDome(managedDevices[KSTARS_DOME]);
+ }
+
}
void EkosManager::initAlign()