summaryrefslogtreecommitdiff
path: root/src/env.cpp
diff options
context:
space:
mode:
authorMikaƫl Capelle <capelle.mikael@gmail.com>2025-05-29 11:04:36 +0200
committerGitHub <noreply@github.com>2025-05-29 11:04:36 +0200
commit39210af3e59c929cba6de2d39ef1c32835f6388b (patch)
treeb77879fa376e7bfa016b14aa7635e7202b6cc69e /src/env.cpp
parent3a8ea3cccee06397e90305e1e39a305f8b7c3cb3 (diff)
Move to VCPKG (#2068)
* Remove SConscript related files. * Force-load translations from uibase and gamebryo/creation. * Bring githubpp here and add a standalone preset. * Switch VersionInfo -> Version for ModOrganizer2. (#2063) * Add pre-commit hook. * Use 7zip build from VCPKG registry. * Use archive.dll from the bin folder instead of dlls.
Diffstat (limited to 'src/env.cpp')
-rw-r--r--src/env.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env.cpp b/src/env.cpp
index 9e67ef88..5dab489e 100644
--- a/src/env.cpp
+++ b/src/env.cpp
@@ -1081,7 +1081,7 @@ std::wstring safeVersion()
{
try {
// this can throw
- return MOShared::createVersionInfo().displayString(3).toStdWString() + L"-";
+ return MOShared::createVersionInfo().string().toStdWString() + L"-";
} catch (...) {
return {};
}