Enables setting thread count via command line

Allows users to set the maximum number of threads used for parallel processing via a command-line argument. The thread count can also be set via preferences. Command line takes precedence.
This commit is contained in:
Magne Sjaastad committed 2025-08-13 13:00:49 +02:00
1 parent c854166be6
commit 41870a2c6d
8 files changed
+82 -9

No files matched your search

+3
View File
@@ -191,6 +191,9 @@ int main( int argc, char* argv[] )
}
}
#endif
// Check if max thread count is set either from command line or preferences
app->setThreadCount();
exitCode = QCoreApplication::instance()->exec();
}
catch ( std::exception& exep )