diff --git a/src/main.cc b/src/main.cc index 519a8b389c14c329b10aa94fd4692046664360dd..428c2950da4c06dd7ae2754a267bbd8fdd9ffd3f 100644 --- a/src/main.cc +++ b/src/main.cc @@ -105,7 +105,7 @@ int main(int argc, char *argv[]) qRegisterMetaType(); #ifdef QT_DEBUG - // We parse a small set of command line options here prior to QGCCore in order to handle the ones + // We parse a small set of command line options here prior to QGCApplication in order to handle the ones // which need to be handled before a QApplication object is started. bool runUnitTests = false; // Run unit test @@ -140,12 +140,12 @@ int main(int argc, char *argv[]) } #endif - QGCCore* core = new QGCCore(argc, argv); - Q_CHECK_PTR(core); + QGCApplication* app = new QGCApplication(argc, argv); + Q_CHECK_PTR(app); - if (!core->init()) { + if (!app->init()) { return -1; } - return core->exec(); + return app->exec(); }