mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
convert path to QByteArray via QFile::encodeName() in QStatInfo::dirInfos()
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
75d4dc82b5
commit
2c70d06992
1 changed files with 1 additions and 1 deletions
|
@ -154,7 +154,7 @@ QList<QStatInfo> QStatInfo::dirInfos(const QByteArray &nativepath, const QString
|
|||
}
|
||||
}
|
||||
#else
|
||||
const QByteArray fullnative = fulllocal.toLocal8Bit();
|
||||
const QByteArray fullnative = QFile::encodeName(fulllocal);
|
||||
QT_STATBUF statbuf;
|
||||
if (QT_STAT(fullnative.constData(), &statbuf) == 0) {
|
||||
result.append(QStatInfo(fulllocal, false));
|
||||
|
|
Loading…
Add table
Reference in a new issue