Newly created buffers are now selected automatically.
[quassel.git] / src / client / buffermodel.h
index 80f1ec0..db8049d 100644 (file)
@@ -50,10 +50,8 @@ public:
   void mapProperty(int column, int role, QObject *target, const QByteArray &property);
 
   QModelIndex currentIndex();
+  void setCurrentIndex(const QModelIndex &newCurrent);
 
-private slots:
-  void currentChanged(const QModelIndex &current, const QModelIndex &previous);
-  
 private:
   SelectionModelSynchronizer _selectionModelSynchronizer;
   ModelPropertyMapper _propertyMapper;