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