projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18fdca6
)
buffer views are now sorted case insensitive if alphabetical sort is enabled
author
Marcus Eggenberger
<egs@quassel-irc.org>
Tue, 15 Apr 2008 12:32:05 +0000
(12:32 +0000)
committer
Marcus Eggenberger
<egs@quassel-irc.org>
Tue, 15 Apr 2008 12:32:05 +0000
(12:32 +0000)
src/uisupport/bufferviewfilter.cpp
patch
|
blob
|
history
diff --git
a/src/uisupport/bufferviewfilter.cpp
b/src/uisupport/bufferviewfilter.cpp
index
3e4886c
..
1245579
100644
(file)
--- a/
src/uisupport/bufferviewfilter.cpp
+++ b/
src/uisupport/bufferviewfilter.cpp
@@
-282,6
+282,6
@@
bool bufferIdLessThan(const BufferId &left, const BufferId &right) {
if(leftType != rightType)
return leftType < rightType;
else
- return
Client::networkModel()->data(leftIndex, Qt::DisplayRole).toString() < Client::networkModel()->data(rightIndex, Qt::DisplayRole).toString()
;
+ return
QString::compare(Client::networkModel()->data(leftIndex, Qt::DisplayRole).toString(), Client::networkModel()->data(rightIndex, Qt::DisplayRole).toString(), Qt::CaseInsensitive) < 0
;
}