summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-11 22:29:22 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-11 22:29:22 (GMT)
commitab78d9717b4f0ae7d03f2b3c933c2d9c25f4b6d7 (patch)
tree32e7cb0f9d3734330cc524f5b74401f25072b4bd
parent542f789c13e1210b3620fdf1d84cd5c8fe17951d (diff)
Use options verbose to check for verbosity settings
-rw-r--r--kstars/ekos/offlineastrometryparser.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kstars/ekos/offlineastrometryparser.cpp b/kstars/ekos/offlineastrometryparser.cpp
index 9a214d5..9a978ea 100644
--- a/kstars/ekos/offlineastrometryparser.cpp
+++ b/kstars/ekos/offlineastrometryparser.cpp
@@ -192,7 +192,7 @@ bool OfflineAstrometryParser::startSovler(const QString &filename, const QStrin
align->appendLogText(i18n("Starting solver..."));
- if (align->isVerbose())
+ if (Options::solverVerbose())
{
QString command = Options::astrometrySolver() + " " + solverArgs.join(" ");
align->appendLogText(command);
@@ -272,9 +272,9 @@ void OfflineAstrometryParser::wcsinfoComplete(int exist_status)
int elapsed = (int) round(solverTimer.elapsed()/1000.0);
align->appendLogText(i18np("Solver completed in %1 second.", "Solver completed in %1 seconds.", elapsed));
- emit solverFinished(orientation,ra,dec, pixscale);
+ emit solverFinished(orientation,ra,dec, pixscale);
- // Remove files left over by the solver
+ // Remove files left over by the solver
QDir dir("/tmp");
dir.setNameFilters(QStringList() << "fits*" << "tmp.*");
dir.setFilter(QDir::Files);
@@ -286,7 +286,7 @@ void OfflineAstrometryParser::wcsinfoComplete(int exist_status)
void OfflineAstrometryParser::logSolver()
{
- if (align->isVerbose())
+ if (Options::solverVerbose())
align->appendLogText(solver.readAll().trimmed());
}