summaryrefslogtreecommitdiff
path: root/src/env.cpp
diff options
context:
space:
mode:
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 {};
}