Replace thread count in message box with ria logging info

This commit is contained in:
Jørgen Herje 2024-04-04 09:03:17 +02:00
parent 985e2e21ee
commit 4d87fc5927

View File

@ -17,6 +17,7 @@
/////////////////////////////////////////////////////////////////////////////////
#include "RiaArgumentParser.h"
#include "RiaLogging.h"
#include "RiaMainTools.h"
#include "RiaOpenMPTools.h"
#include "RiaPreferences.h"
@ -141,7 +142,7 @@ int main( int argc, char* argv[] )
RiaApplication::ApplicationStatus status = app->handleArguments( &progOpt );
int numOmpThreads = RiaOpenMPTools::numberOfThreads();
app->showFormattedTextInMessageBoxOrConsole( QString( "OpenMP Num Threads: %1\n" ).arg( numOmpThreads ) );
RiaLogging::info( QString( "OpenMP Num Threads: %1\n" ).arg( numOmpThreads ) );
if ( status == RiaApplication::ApplicationStatus::EXIT_COMPLETED )
{