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[]) ...@@ -105,7 +105,7 @@ int main(int argc, char *argv[])
qRegisterMetaType<QAbstractSocket::SocketError>(); qRegisterMetaType<QAbstractSocket::SocketError>();
#ifdef QT_DEBUG #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. // which need to be handled before a QApplication object is started.
bool runUnitTests = false; // Run unit test bool runUnitTests = false; // Run unit test
...@@ -140,12 +140,12 @@ int main(int argc, char *argv[]) ...@@ -140,12 +140,12 @@ int main(int argc, char *argv[])
} }
#endif #endif
QGCCore* core = new QGCCore(argc, argv); QGCApplication* app = new QGCApplication(argc, argv);
Q_CHECK_PTR(core); Q_CHECK_PTR(app);
if (!core->init()) { if (!app->init()) {
return -1; 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