From 1c3d18c08772226fff35020633f10ae8aca0b036 Mon Sep 17 00:00:00 2001 From: lm Date: Mon, 5 Jul 2010 18:07:15 +0200 Subject: [PATCH] name now in config --- src/Core.cc | 7 ++++--- src/configuration.h | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Core.cc b/src/Core.cc index 068ea54d4..55d701e15 100644 --- a/src/Core.cc +++ b/src/Core.cc @@ -40,6 +40,7 @@ This file is part of the PIXHAWK project #include #include +#include "configuration.h" #include "Core.h" #include "MG.h" #include "MainWindow.h" @@ -61,9 +62,9 @@ This file is part of the PIXHAWK project Core::Core(int &argc, char* argv[]) : QApplication(argc, argv) { - this->setApplicationName("QGroundControl"); - this->setApplicationVersion("v. 0.7.5 (Beta)"); - this->setOrganizationName(QLatin1String("OpenMAV Association")); + this->setApplicationName(QGC_APPLICATION_NAME); + this->setApplicationVersion(QGC_APPLICATION_VERSION); + this->setOrganizationName(QLatin1String("PIXHAWK Association Zurich")); this->setOrganizationDomain("http://qgroundcontrol.org"); // Show splash screen diff --git a/src/configuration.h b/src/configuration.h index f09ca61af..6fe339966 100644 --- a/src/configuration.h +++ b/src/configuration.h @@ -11,4 +11,7 @@ #define WITH_TEXT_TO_SPEECH 1 +#define QGC_APPLICATION_NAME "QGroundControl" +#define QGC_APPLICATION_VERSION "v. 0.7.6 (Beta)" + #endif // CONFIGURATION_H -- 2.22.0