Index: sources/ApplicationController.cpp =================================================================== diff -u -rc70ae33e19c08779ce89e2f1728f2d1af7b5c100 -rcb71895ec67532240a7002d8f6268bc622710347 --- sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision c70ae33e19c08779ce89e2f1728f2d1af7b5c100) +++ sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision cb71895ec67532240a7002d8f6268bc622710347) @@ -49,7 +49,7 @@ _init = true; initConnections(); - LOG_DEBUG(tr("%1 Initialized").arg(metaObject()->className())); + LOG_DEBUG(QString("%1 Initialized").arg(metaObject()->className())); return true; } @@ -526,14 +526,9 @@ */ void ApplicationController::initSettings() { - // That is enough to call to the I function here to create the object in the thread that Settings is leaving in, - // which currently is Application_Thread, since the Settings is created in that thread. - _Settings; - QFuture mFuture = QtConcurrent::run( [=]() -> int { // made the call a lambda to make sure there is no function to accidentally being called, out of thread [developer safety]. //TODO The Settings shall be the Singleton SettingsController and modify the MSettings like the others. - Storage::Settings settings; - return settings.read(); + return Storage::Settings::readConfigurations(); }); _settingsWatcher.setFuture(mFuture); } @@ -772,4 +767,3 @@ institutionalRequest (); // send HD the institutional record request emit didPOSTPass (_post.isDone( )); // GuiController -> GuiView : didPOSTPass(bool) } -