summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-28 16:49:08 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-10-28 16:49:08 (GMT)
commit316e19a9068724b06953d715e0ac1ab902d354ba (patch)
treebf8615d2f976242b943cac58b5992fd66b7d22f4
parent807467ead5cec5211b17946156aa5c152eca3131 (diff)
errorOccured was introduced in 5.6 so account for that
-rw-r--r--kstars/ekos/align/offlineastrometryparser.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kstars/ekos/align/offlineastrometryparser.cpp b/kstars/ekos/align/offlineastrometryparser.cpp
index 8aa82a4..59c0638 100644
--- a/kstars/ekos/align/offlineastrometryparser.cpp
+++ b/kstars/ekos/align/offlineastrometryparser.cpp
@@ -198,7 +198,11 @@ bool OfflineAstrometryParser::startSovler(const QString &filename, const QStrin
// Reset parity on solver failure
connect(this, &OfflineAstrometryParser::solverFailed, this, [&]() { parity = QString();});
+#if QT_VERSION > QT_VERSION_CHECK(5,6,0)
connect(&solver, &QProcess::errorOccurred, this, [&]()
+#else
+ connect(&solver, &QProcess::error, this, [&]()
+#endif
{
align->appendLogText(i18n("Error starting solver: %1", solver.errorString()));
emit solverFailed();