Display version and commit strings at the start of the log

This commit is contained in:
Dan Paulat 2024-08-03 23:19:32 -05:00
parent 3401bc497d
commit 3848ffd781

View file

@ -45,6 +45,10 @@ int main(int argc, char* argv[])
auto& logManager = scwx::qt::manager::LogManager::Instance();
logManager.Initialize();
logger_->info("Supercell Wx v{} ({})",
scwx::qt::main::kVersionString_,
scwx::qt::main::kCommitString_);
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
QApplication a(argc, argv);