Browse Source

name now in config

QGC4.4
lm 15 years ago
parent
commit
1c3d18c087
  1. 7
      src/Core.cc
  2. 3
      src/configuration.h

7
src/Core.cc

@ -40,6 +40,7 @@ This file is part of the PIXHAWK project
#include <QStyleFactory> #include <QStyleFactory>
#include <QAction> #include <QAction>
#include "configuration.h"
#include "Core.h" #include "Core.h"
#include "MG.h" #include "MG.h"
#include "MainWindow.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) Core::Core(int &argc, char* argv[]) : QApplication(argc, argv)
{ {
this->setApplicationName("QGroundControl"); this->setApplicationName(QGC_APPLICATION_NAME);
this->setApplicationVersion("v. 0.7.5 (Beta)"); this->setApplicationVersion(QGC_APPLICATION_VERSION);
this->setOrganizationName(QLatin1String("OpenMAV Association")); this->setOrganizationName(QLatin1String("PIXHAWK Association Zurich"));
this->setOrganizationDomain("http://qgroundcontrol.org"); this->setOrganizationDomain("http://qgroundcontrol.org");
// Show splash screen // Show splash screen

3
src/configuration.h

@ -11,4 +11,7 @@
#define WITH_TEXT_TO_SPEECH 1 #define WITH_TEXT_TO_SPEECH 1
#define QGC_APPLICATION_NAME "QGroundControl"
#define QGC_APPLICATION_VERSION "v. 0.7.6 (Beta)"
#endif // CONFIGURATION_H #endif // CONFIGURATION_H

Loading…
Cancel
Save