┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2008-01-02 17:40:15 +0000
committerPeter Penz <[email protected]>2008-01-02 17:40:15 +0000
commitd361e8b9b4e955831909f2beb4fb7b91a3cf3c5f (patch)
treed6c625bc67f05a6f37df4c20998babc4b0c0cb0a
parent743bec375187a51ed6b88256ff070e9f7e9f4929 (diff)
do a case insensitive filtering of filenames
CCMAIL: [email protected] svn path=/trunk/KDE/kdebase/apps/; revision=756066
-rw-r--r--src/dolphincolumnwidget.cpp1
-rw-r--r--src/dolphinviewcontainer.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphincolumnwidget.cpp b/src/dolphincolumnwidget.cpp
index 6f88fd277..195d0fc01 100644
--- a/src/dolphincolumnwidget.cpp
+++ b/src/dolphincolumnwidget.cpp
@@ -116,6 +116,7 @@ DolphinColumnWidget::DolphinColumnWidget(QWidget* parent,
m_proxyModel = new DolphinSortFilterProxyModel(this);
m_proxyModel->setSourceModel(m_dolphinModel);
+ m_proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive);
setModel(m_proxyModel);
new KMimeTypeResolver(this, m_dolphinModel);
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp
index fff14578c..a1846dc75 100644
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -96,6 +96,7 @@ DolphinViewContainer::DolphinViewContainer(DolphinMainWindow* mainWindow,
m_proxyModel = new DolphinSortFilterProxyModel(this);
m_proxyModel->setSourceModel(m_dolphinModel);
+ m_proxyModel->setFilterCaseSensitivity(Qt::CaseInsensitive);
connect(m_dirLister, SIGNAL(clear()),
this, SLOT(updateStatusBar()));