Apply suggestions from code review

Co-authored-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
This commit is contained in:
Rachel Powers
2025-12-10 22:01:36 -07:00
committed by GitHub
parent 87286fa6a3
commit 5e7de6bc53

View File

@@ -132,8 +132,8 @@ bool ArchiveWriter::addFile(const QString& fileName, const QString& fileDest)
}
#else
{
// this only works for myltibyte encoded filenames if the local is properly set,
// a wide charater version doens't seem to exist: here's hopeing...
// this only works for multibyte encoded filenames if the local is properly set,
// a wide character version doesn't seem to exist: here's hoping...
QByteArray utf8 = fileInfo.absoluteFilePath().toUtf8();
const char* cpath = utf8.constData();