Commit 84fb1ad7 authored by Don Gagne's avatar Don Gagne

Update for QGCCore->QGCApplication name change

parent 33220de0
......@@ -105,7 +105,7 @@ int main(int argc, char *argv[])
qRegisterMetaType<QAbstractSocket::SocketError>();
#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();
}
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