projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- MessageTypes are now binary exclusive which allows easy checks with multimple condi...
[quassel.git]
/
src
/
uisupport
/
bufferviewfilter.cpp
diff --git
a/src/uisupport/bufferviewfilter.cpp
b/src/uisupport/bufferviewfilter.cpp
index
ac4bae5
..
a9f34fd
100644
(file)
--- a/
src/uisupport/bufferviewfilter.cpp
+++ b/
src/uisupport/bufferviewfilter.cpp
@@
-101,13
+101,13
@@
void BufferViewFilter::removeBuffer(const QModelIndex &index) {
bool BufferViewFilter::filterAcceptBuffer(const QModelIndex &source_bufferIndex) const {
bool BufferViewFilter::filterAcceptBuffer(const QModelIndex &source_bufferIndex) const {
- BufferI
tem::Type bufferType = (BufferItem
::Type) source_bufferIndex.data(NetworkModel::BufferTypeRole).toInt();
+ BufferI
nfo::Type bufferType = (BufferInfo
::Type) source_bufferIndex.data(NetworkModel::BufferTypeRole).toInt();
- if((mode & NoChannels) && bufferType == BufferI
tem::ChannelType
)
+ if((mode & NoChannels) && bufferType == BufferI
nfo::ChannelBuffer
)
return false;
return false;
- if((mode & NoQueries) && bufferType == BufferI
tem::QueryType
)
+ if((mode & NoQueries) && bufferType == BufferI
nfo::QueryBuffer
)
return false;
return false;
- if((mode & NoServers) && bufferType == BufferI
tem::StatusType
)
+ if((mode & NoServers) && bufferType == BufferI
nfo::StatusBuffer
)
return false;
// bool isActive = source_bufferIndex.data(NetworkModel::BufferActiveRole).toBool();
return false;
// bool isActive = source_bufferIndex.data(NetworkModel::BufferActiveRole).toBool();