mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
File scheme handler: Sorting files case insensitive.
This commit is contained in:
parent
fa62b299a0
commit
8581abf472
@ -137,7 +137,8 @@ void FileSchemeReply::loadPage()
|
|||||||
QString FileSchemeReply::loadDirectory()
|
QString FileSchemeReply::loadDirectory()
|
||||||
{
|
{
|
||||||
const QDir &dir = QDir(request().url().toLocalFile());
|
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;
|
static QString sPage;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user