mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-17 13:01:41 +00:00
Fixed: Typo
This commit is contained in:
parent
42260ea0fe
commit
31a31a85b3
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ bool Set7zFileAttrib(const QString &filename, uint32 fileAttributes)
|
||||||
|
|
||||||
// qDebug() << "attribs" << QByteArray::fromRawData((const char*)&fileAttributes, 4).toHex();
|
// qDebug() << "attribs" << QByteArray::fromRawData((const char*)&fileAttributes, 4).toHex();
|
||||||
|
|
||||||
#ifdef Q_OS_WIN1
|
#ifdef Q_OS_WIN
|
||||||
SetFileAttributesW((wchar_t*)filename.utf16(), windowsAttributes);
|
SetFileAttributesW((wchar_t*)filename.utf16(), windowsAttributes);
|
||||||
#else
|
#else
|
||||||
const char *name = filename.toUtf8().constData();
|
const char *name = filename.toUtf8().constData();
|
||||||
|
|
Loading…
Reference in a new issue