From 890486f2db8eb46eb78573901f948449a979e9e6 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Thu, 10 Nov 2022 16:16:57 +0200 Subject: [PATCH] Fix build on Windows. --- src/libs/vdxf/vdxfengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vdxf/vdxfengine.cpp b/src/libs/vdxf/vdxfengine.cpp index ec782ca59..e5cf85746 100644 --- a/src/libs/vdxf/vdxfengine.cpp +++ b/src/libs/vdxf/vdxfengine.cpp @@ -1259,7 +1259,7 @@ auto VDxfEngine::FromUnicodeToCodec(const QString &str, QTextCodec *codec) -> st auto VDxfEngine::GetFileNameForLocale() const -> std::string { #if defined(Q_OS_WIN) - return VDxfEngine::FromUnicodeToCodec(fileName, QTextCodec::codecForLocale()); + return VDxfEngine::FromUnicodeToCodec(m_fileName, QTextCodec::codecForLocale()); #else return m_fileName.toStdString(); #endif