X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fbufferviewfilter.h;h=f27352e7a66d0ce2eb48f1c20739c71b952d1697;hp=506cbebd62092886c4433ed132d2e005b17d0ef3;hb=770b7ef54b03f3ebd1e29a58b4757505e1809b2d;hpb=d28b9ec38b6ea0bc473200fc2f1e65abd1b56bd6 diff --git a/src/uisupport/bufferviewfilter.h b/src/uisupport/bufferviewfilter.h index 506cbebd..f27352e7 100644 --- a/src/uisupport/bufferviewfilter.h +++ b/src/uisupport/bufferviewfilter.h @@ -47,7 +47,7 @@ public: }; Q_DECLARE_FLAGS(Modes, Mode); - BufferViewFilter(QAbstractItemModel *model, const Modes &mode, const QList &nets); + BufferViewFilter(QAbstractItemModel *model, const Modes &mode, const QList &nets); virtual Qt::ItemFlags flags(const QModelIndex &index) const; virtual bool dropMimeData(const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent); @@ -57,7 +57,6 @@ public: public slots: void removeBuffer(const QModelIndex &); - void invalidateFilter_(); protected: bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const; @@ -65,8 +64,8 @@ protected: private: Modes mode; - QSet networks; - QSet buffers; + QSet networks; + QSet buffers; bool filterAcceptBuffer(const QModelIndex &) const; bool filterAcceptNetwork(const QModelIndex &) const;