Fixed: Typo

--HG--
branch : develop
This commit is contained in:
kervala 2016-05-16 18:19:23 +02:00
parent da5c53e3c2
commit 1fc5934bfa

View file

@ -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();