Prevent Quassel from crashing upon core dis- and reconnect and make the NickListWidgets
[quassel.git] / src / qtui / nicklistwidget.h
index 6c95f9b..5a091b8 100644 (file)
@@ -5,7 +5,7 @@
  *   This program is free software; you can redistribute it and/or modify  *
  *   it under the terms of the GNU General Public License as published by  *
  *   the Free Software Foundation; either version 2 of the License, or     *
- *   (at your option) any later version.                                   *
+ *   (at your option) version 3.                                           *
  *                                                                         *
  *   This program is distributed in the hope that it will be useful,       *
  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
@@ -38,6 +38,9 @@ class NickListWidget : public QWidget {
     void setBuffer(Buffer *);
     void reset();
 
+  private slots:
+    void bufferDestroyed(QObject *);
+
   private:
     Ui::NickListWidget ui;
     QHash<Buffer *, NickView *> nickViews;