summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-28 08:56:32 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-08-28 08:56:32 (GMT)
commit7ff6d45093e495d5ca2c6855975a2fca6c8ecdf1 (patch)
treef55101dfda070351e85215c73de547daa3a84ee6
parent0fd113e228d00b6fcdce8d297dcc93510eb9ef0a (diff)
Increase timeout for alignment after meridian flip to about 10 minutes maximum. Only send status updated if in batch mode, not preview
-rw-r--r--kstars/ekos/capture.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/kstars/ekos/capture.cpp b/kstars/ekos/capture.cpp
index bde84e2..202c0d9 100644
--- a/kstars/ekos/capture.cpp
+++ b/kstars/ekos/capture.cpp
@@ -1592,7 +1592,8 @@ void Capture::prepareJob(SequenceJob *job)
appendLogText(i18n("Changing filter to %1...", FilterPosCombo->itemText(activeJob->getTargetFilter()-1)));
secondsLabel->setText(i18n("Set filter..."));
- emit newStatus(Ekos::CAPTURE_CHANGING_FILTER);
+ if (activeJob->isPreview() == false)
+ emit newStatus(Ekos::CAPTURE_CHANGING_FILTER);
setBusy(true);
@@ -1607,7 +1608,8 @@ void Capture::prepareJob(SequenceJob *job)
appendLogText(i18n("Setting temperature to %1 C...", activeJob->getTargetTemperature()));
secondsLabel->setText(i18n("Set %1 C...", activeJob->getTargetTemperature()));
- emit newStatus(Ekos::CAPTURE_SETTING_TEMPERATURE);
+ if (activeJob->isPreview() == false)
+ emit newStatus(Ekos::CAPTURE_SETTING_TEMPERATURE);
setBusy(true);
}
@@ -2844,7 +2846,7 @@ void Capture::checkMeridianFlipTimeout()
{
if (alignmentEngaged == false)
{
- QTimer::singleShot(MF_TIMER_TIMEOUT*2, this, SLOT(checkMeridianFlipTimeout()));
+ QTimer::singleShot(MF_TIMER_TIMEOUT*7, this, SLOT(checkMeridianFlipTimeout()));
alignmentEngaged = true;
}
else