Index: sources/ApplicationController.cpp =================================================================== diff -u -rf8c7febe2e4131b8c7e68fd9849027ba8596dbc6 -r721e055ca19c92525a45be953ad1cffdc2d69abb --- sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision f8c7febe2e4131b8c7e68fd9849027ba8596dbc6) +++ sources/ApplicationController.cpp (.../ApplicationController.cpp) (revision 721e055ca19c92525a45be953ad1cffdc2d69abb) @@ -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); } @@ -776,4 +771,3 @@ institutionalRequest (); // send HD the institutional record request emit didPOSTPass (_post.isDone( )); // GuiController -> GuiView : didPOSTPass(bool) } -