projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Buffer activity levels are now synced between clients, meaning that seeing a buffer...
[quassel.git]
/
src
/
uisupport
/
bufferviewfilter.cpp
diff --git
a/src/uisupport/bufferviewfilter.cpp
b/src/uisupport/bufferviewfilter.cpp
index
22b5141
..
bae2522
100644
(file)
--- a/
src/uisupport/bufferviewfilter.cpp
+++ b/
src/uisupport/bufferviewfilter.cpp
@@
-173,13
+173,13
@@
QVariant BufferViewFilter::foreground(const QModelIndex &index) const {
if(!index.data(NetworkModel::ItemActiveRole).toBool())
return inactiveActivity.value<QColor>();
if(!index.data(NetworkModel::ItemActiveRole).toBool())
return inactiveActivity.value<QColor>();
- Buffer
Item::ActivityLevel activity = (BufferItem
::ActivityLevel)index.data(NetworkModel::BufferActivityRole).toInt();
+ Buffer
::ActivityLevel activity = (Buffer
::ActivityLevel)index.data(NetworkModel::BufferActivityRole).toInt();
- if(activity & Buffer
Item
::Highlight)
+ if(activity & Buffer::Highlight)
return highlightActivity.value<QColor>();
return highlightActivity.value<QColor>();
- if(activity & Buffer
Item
::NewMessage)
+ if(activity & Buffer::NewMessage)
return newMessageActivity.value<QColor>();
return newMessageActivity.value<QColor>();
- if(activity & Buffer
Item
::OtherActivity)
+ if(activity & Buffer::OtherActivity)
return otherActivity.value<QColor>();
return noActivity.value<QColor>();
return otherActivity.value<QColor>();
return noActivity.value<QColor>();