mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 23:30:04 +00:00
Display version and commit strings at the start of the log
This commit is contained in:
parent
3401bc497d
commit
3848ffd781
1 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,10 @@ int main(int argc, char* argv[])
|
||||||
auto& logManager = scwx::qt::manager::LogManager::Instance();
|
auto& logManager = scwx::qt::manager::LogManager::Instance();
|
||||||
logManager.Initialize();
|
logManager.Initialize();
|
||||||
|
|
||||||
|
logger_->info("Supercell Wx v{} ({})",
|
||||||
|
scwx::qt::main::kVersionString_,
|
||||||
|
scwx::qt::main::kCommitString_);
|
||||||
|
|
||||||
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
|
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
|
||||||
|
|
||||||
QApplication a(argc, argv);
|
QApplication a(argc, argv);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue