Fix build on Windows.
This commit is contained in:
parent
a2a8f7a4f0
commit
890486f2db
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user