mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
Ref T210, moved "guess" into CApplicationInfo
* core unit test, set correct type * guess application type now in CApplicationInfo
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackCore;
|
||||
using namespace BlackCoreTest;
|
||||
|
||||
@@ -27,7 +28,7 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
QCoreApplication qa(argc, argv);
|
||||
Q_UNUSED(qa);
|
||||
CApplication a;
|
||||
CApplication a(CApplicationInfo::UnitTest);
|
||||
a.addVatlibOptions();
|
||||
const bool setup = a.parseAndSynchronizeSetup();
|
||||
if (!setup) { qWarning() << "No setup loaded"; }
|
||||
|
||||
Reference in New Issue
Block a user