Commit d15324a7 authored by Jasem Mutlaq's avatar Jasem Mutlaq

Refactor to be more consistent with code style

parent 9831b5d1
......@@ -3246,8 +3246,8 @@ void Focus::setMountStatus(ISD::Telescope::Status newState)
}
}
void Focus::mountCoords(const QString &ra, const QString &dec, const QString &az, const QString &alt,
int pierSide, const QString &ha)
void Focus::setMountCoords(const QString &ra, const QString &dec, const QString &az, const QString &alt,
int pierSide, const QString &ha)
{
Q_UNUSED(ra);
Q_UNUSED(dec);
......
......@@ -334,8 +334,8 @@ class Focus : public QWidget, public Ui::Focus
void setMountStatus(ISD::Telescope::Status newState);
// Update Altitude From Mount
void mountCoords(const QString &ra, const QString &dec, const QString &az,
const QString &alt, int pierSide, const QString &ha);
void setMountCoords(const QString &ra, const QString &dec, const QString &az, const QString &alt, int pierSide,
const QString &ha);
/**
* @brief toggleVideo Turn on and off video streaming if supported by the camera.
......
......@@ -3449,7 +3449,7 @@ void Manager::connectModules()
{
connect(mountProcess.get(), &Ekos::Mount::newStatus, focusProcess.get(), &Ekos::Focus::setMountStatus,
Qt::UniqueConnection);
connect(mountProcess.get(), &Ekos::Mount::newCoords, focusProcess.get(), &Ekos::Focus::mountCoords,
connect(mountProcess.get(), &Ekos::Mount::newCoords, focusProcess.get(), &Ekos::Focus::setMountCoords,
Qt::UniqueConnection);
}
......
Markdown is supported
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