Fixed disconnect from Core. Dis- and reconnecting should now work as expected.
[quassel.git] / src / client / treemodel.h
index 2b7928c..d73b8fc 100644 (file)
@@ -71,7 +71,7 @@ public:
   int rowCount(const QModelIndex &parent = QModelIndex()) const;
   int columnCount(const QModelIndex &parent = QModelIndex()) const;
 
-  void clear();
+  virtual void clear();
 
 protected:
   bool removeRow(int row, const QModelIndex &parent = QModelIndex());