Commit 1a460219 authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Use state change to signal actual events instead of different signals for all...

Use state change to signal actual events instead of different signals for all various status changes
parent 6c580c2f
......@@ -582,8 +582,8 @@ void Focus::checkFocuser(int FocuserNum)
resetButtons();
if (!inAutoFocus && !inFocusLoop && !captureInProgress && !inSequenceFocus)
emit autoFocusFinished(true, -1);
//if (!inAutoFocus && !inFocusLoop && !captureInProgress && !inSequenceFocus)
// emit autoFocusFinished(true, -1);
}
void Focus::addCCD(ISD::GDInterface *newCCD)
......@@ -1067,6 +1067,8 @@ void Focus::setCaptureComplete()
return;
}
emit newHFR(currentHFR);
QString HFRText = QString("%1").arg(currentHFR, 0,'g', 3);
if (focusType == FOCUS_MANUAL && lastHFR == -1)
......@@ -2265,7 +2267,7 @@ void Focus::setAutoFocusResult(bool status)
resetFocusIteration = 0;
emit autoFocusFinished(status, currentHFR);
//emit autoFocusFinished(status, currentHFR);
if (status)
{
......
......@@ -328,12 +328,13 @@ private slots:
signals:
void newLog();
void autoFocusFinished(bool status, double finalHFR);
//void autoFocusFinished(bool status, double finalHFR);
void suspendGuiding(bool suspend);
void filterLockUpdated(ISD::GDInterface *filter, int lockedIndex);
void newStatus(Ekos::FocusState state);
void newStarPixmap(QPixmap &);
void newProfilePixmap(QPixmap &);
void newHFR(double hfr);
private:
void drawHFRPlot();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment