summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-27 21:51:04 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-27 21:51:04 (GMT)
commit51270088d1d51570867cefffd2c34d60c188756b (patch)
treecf74af049430c54416fb9fedfe091fa4cc6d4c68
parentf1da6f6e79e6970b0e5ef613116538a1245b0e2a (diff)
Set pulseTimer to be oneShot
-rw-r--r--kstars/ekos/guide/guide.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kstars/ekos/guide/guide.cpp b/kstars/ekos/guide/guide.cpp
index 3500245..a92cdac 100644
--- a/kstars/ekos/guide/guide.cpp
+++ b/kstars/ekos/guide/guide.cpp
@@ -178,6 +178,7 @@ Guide::Guide() : QWidget()
connect(externalDisconnectB, &QPushButton::clicked, this, [&](){guider->Disconnect();});
// Pulse Timer
+ pulseTimer.setSingleShot(true);
connect(&pulseTimer, SIGNAL(timeout()), this, SLOT(capture()));
// Drift Graph