summaryrefslogtreecommitdiffstats
path: root/konversation/src/nick.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'konversation/src/nick.cpp')
-rw-r--r--konversation/src/nick.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/konversation/src/nick.cpp b/konversation/src/nick.cpp
index 81aad09..8ddb67c 100644
--- a/konversation/src/nick.cpp
+++ b/konversation/src/nick.cpp
@@ -249,12 +249,12 @@ int Nick::getSortingValue() const
int flags;
TQString sortingOrder = Preferences::sortOrder();
- if(getChannelNick()->isOwner()) flags=sortingOrder.tqfind('q');
- else if(getChannelNick()->isAdmin()) flags=sortingOrder.tqfind('p');
- else if(getChannelNick()->isOp() ) flags=sortingOrder.tqfind('o');
- else if(getChannelNick()->isHalfOp()) flags=sortingOrder.tqfind('h');
- else if(getChannelNick()->hasVoice()) flags=sortingOrder.tqfind('v');
- else flags=sortingOrder.tqfind('-');
+ if(getChannelNick()->isOwner()) flags=sortingOrder.find('q');
+ else if(getChannelNick()->isAdmin()) flags=sortingOrder.find('p');
+ else if(getChannelNick()->isOp() ) flags=sortingOrder.find('o');
+ else if(getChannelNick()->isHalfOp()) flags=sortingOrder.find('h');
+ else if(getChannelNick()->hasVoice()) flags=sortingOrder.find('v');
+ else flags=sortingOrder.find('-');
return flags;
}