Commit 195ad0aa authored by Rolf Eike Beer's avatar Rolf Eike Beer
Browse files

Make sorting by name case insensitive

svn path=/trunk/KDE/kdeutils/kgpg/; revision=783742
parent 7657d285
......@@ -95,7 +95,7 @@ KeyListProxyModel::nodeLessThan(const KGpgNode *left, const KGpgNode *right, con
else if (left->getName().startsWith('[') && right->getName().startsWith('['))
return (left->getId() < right->getId());
}
return (left->getName() < right->getName());
return (left->getName().compare(right->getName().toLower(), Qt::CaseInsensitive) < 0);
case KEYCOLUMN_EMAIL:
return (left->getEmail() < right->getEmail());
case KEYCOLUMN_TRUST:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment