X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fbuffermodel.h;h=4794afeb8f9c41bd22c0776c3b1ffee378eb876d;hb=eaba93b703ba5bca4edf09f4c076a00b529115cd;hp=7bd3fc9ead4c18f969535d2982bf81cc8ad9afa2;hpb=6cd120c0b28d9cca7e2465fad731977d532ce74d;p=quassel.git diff --git a/src/client/buffermodel.h b/src/client/buffermodel.h index 7bd3fc9e..4794afeb 100644 --- a/src/client/buffermodel.h +++ b/src/client/buffermodel.h @@ -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: