projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c656c7
)
bug--
author
Manuel Nickschas
<sputnick@quassel-irc.org>
Thu, 31 Jul 2008 16:36:10 +0000
(18:36 +0200)
committer
Manuel Nickschas
<sputnick@quassel-irc.org>
Sat, 2 Aug 2008 13:17:11 +0000
(15:17 +0200)
src/qtui/chatline.cpp
patch
|
blob
|
history
diff --git
a/src/qtui/chatline.cpp
b/src/qtui/chatline.cpp
index
5c8f1cf
..
65d68bf
100644
(file)
--- a/
src/qtui/chatline.cpp
+++ b/
src/qtui/chatline.cpp
@@
-82,9
+82,8
@@
void ChatLine::setSelected(bool selected, ChatLineModel::ColumnType minColumn) {
for(int i = minColumn; i <= ChatLineModel::ContentsColumn; i++) item((ChatLineModel::ColumnType)i)->setFullSelection();
update();
}
- }
- else {
- quint8 sel = _selection &= 0x80;
+ } else {
+ quint8 sel = _selection & 0x80;
if(sel != _selection) {
_selection = sel;
for(int i = 0; i <= ChatLineModel::ContentsColumn; i++) item((ChatLineModel::ColumnType)i)->clearSelection();