Commit 050e1bfa authored by Martin Schultz's avatar Martin Schultz

set application name and version for all plattforms to provide version information

parent e6638ef0
......@@ -477,11 +477,10 @@ int main(int argc, char **argv)
QApplication::setColorSpec( QApplication::CustomColor );
QApplication app(argc,argv);
#ifdef __APPLE__
// Set organization and application names
QCoreApplication::setOrganizationName("rwth-aachen.de");
QCoreApplication::setApplicationName("graphics.openflipper");
#endif
QCoreApplication::setApplicationName(TOSTRING(PRODUCT_STRING));
QCoreApplication::setApplicationVersion(OpenFlipper::Options::coreVersion());
if ( !QGLFormat::hasOpenGL() ) {
std::cerr << "This system has no OpenGL support.\n";
......@@ -580,11 +579,10 @@ int main(int argc, char **argv)
QCoreApplication app(argc,argv);
#ifdef __APPLE__
// Set organization and application names
QCoreApplication::setOrganizationName("rwth-aachen.de");
QCoreApplication::setApplicationName("graphics.openflipper");
#endif
QCoreApplication::setApplicationName(TOSTRING(PRODUCT_STRING));
QCoreApplication::setApplicationVersion(OpenFlipper::Options::coreVersion());
// create widget ( this also reads the ini files )
Core * w = new Core( );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment