summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-07 06:05:49 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-11-07 06:05:49 (GMT)
commit61f2c7bc41c0f179499465c64a0963ce9f4559a4 (patch)
tree1e42581ef72fff26f8e25c3a35f47ce1c7cb8aa4
parent9cc29431e93680321e54c16a25c0f0978003b591 (diff)
Add KStars version to log
-rw-r--r--kstars/kstars.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kstars/kstars.cpp b/kstars/kstars.cpp
index a508a94..f6851c6 100644
--- a/kstars/kstars.cpp
+++ b/kstars/kstars.cpp
@@ -49,6 +49,7 @@
#include "kstarsadaptor.h"
#include <config-kstars.h>
+#include <version.h>
#ifdef HAVE_INDI
#include "indi/drivermanager.h"
@@ -90,6 +91,8 @@ KStars::KStars( bool doSplash, bool clockrun, const QString &startdate )
else
KSUtils::Logging::UseDefault();
+ qDebug() << "Welcome to KStars" << KSTARS_VERSION;
+
new KstarsAdaptor(this); // NOTE the weird case convention, which cannot be changed as the file is generated by the moc.
QDBusConnection::sessionBus().registerObject("/KStars", this);