summaryrefslogtreecommitdiffstats
path: root/khelpcenter/navigatorappitem.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-04 14:02:26 -0500
committerTimothy Pearson <[email protected]>2014-10-04 14:02:26 -0500
commitc2924536202aff0de054bab984c7305ee9eca1c9 (patch)
tree146a901a86130cedf5a3ea74fe12f701ff34f1f8 /khelpcenter/navigatorappitem.cpp
parent88a2e255141f97ac65c65fd89b5ef9a30b9138c4 (diff)
downloadtdebase-c2924536202aff0de054bab984c7305ee9eca1c9.tar.gz
tdebase-c2924536202aff0de054bab984c7305ee9eca1c9.zip
Sort non-root entries in KHelpCenter
Make KHelpCenter entry sorting case-insensitive This resolves Bug 1849
Diffstat (limited to 'khelpcenter/navigatorappitem.cpp')
-rw-r--r--khelpcenter/navigatorappitem.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/khelpcenter/navigatorappitem.cpp b/khelpcenter/navigatorappitem.cpp
index 2c175386c..f759a76ee 100644
--- a/khelpcenter/navigatorappitem.cpp
+++ b/khelpcenter/navigatorappitem.cpp
@@ -156,6 +156,11 @@ bool NavigatorAppItem::populate( bool recursive )
return entriesAdded;
}
+TQString NavigatorAppItem::key( int column, bool ascending ) const
+{
+ return text( column ).lower();
+}
+
TQString NavigatorAppItem::documentationURL( KService *s )
{
TQString docPath = s->property( "DocPath" ).toString();