refactored IgnoredController

This commit is contained in:
fourtf
2020-02-23 20:01:35 +01:00
parent 89389608e9
commit 8ae9abb250
7 changed files with 33 additions and 43 deletions
+1 -4
View File
@@ -7,10 +7,9 @@
namespace chatterino {
class IgnoreController;
class IgnoreModel : public SignalVectorModel<IgnorePhrase>
{
public:
explicit IgnoreModel(QObject *parent);
protected:
@@ -21,8 +20,6 @@ protected:
// turns a row in the model into a vector item
virtual void getRowFromItem(const IgnorePhrase &item,
std::vector<QStandardItem *> &row) override;
friend class IgnoreController;
};
} // namespace chatterino