Ref T210, moved "guess" into CApplicationInfo

* core unit test, set correct type
* guess application type now in CApplicationInfo
This commit is contained in:
Klaus Basan
2017-12-19 21:02:38 +01:00
parent cb751306f8
commit 8b74acb3a9
5 changed files with 27 additions and 20 deletions

View File

@@ -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"; }