1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 02:36:34 +01:00

File scheme handler: Sorting files case insensitive.

This commit is contained in:
nowrep 2013-01-19 15:55:04 +01:00
parent fa62b299a0
commit 8581abf472

View File

@ -137,7 +137,8 @@ void FileSchemeReply::loadPage()
QString FileSchemeReply::loadDirectory()
{
const QDir &dir = QDir(request().url().toLocalFile());
const QFileInfoList &list = dir.entryInfoList(QDir::AllEntries | QDir::Hidden, QDir::Name | QDir::DirsFirst);
const QFileInfoList &list = dir.entryInfoList(QDir::AllEntries | QDir::Hidden,
QDir::Name | QDir::DirsFirst | QDir::IgnoreCase);
static QString sPage;