Continuing my personal crusade against Buffer.
[quassel.git] / src / client / buffermodel.h
index 7bd3fc9..4794afe 100644 (file)
@@ -45,7 +45,7 @@ public:
   void synchronizeSelectionModel(MappedSelectionModel *selectionModel);
   void synchronizeView(QAbstractItemView *view);
 
-  QModelIndex currentIndex();
+  inline QModelIndex currentIndex() { return standardSelectionModel()->currentIndex(); }
   void setCurrentIndex(const QModelIndex &newCurrent);
 
 private slots: