X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fclient%2Fbuffermodel.h;h=4794afeb8f9c41bd22c0776c3b1ffee378eb876d;hb=130fde74cee428ec2e3285db89c4348c3091b2aa;hp=7bd3fc9ead4c18f969535d2982bf81cc8ad9afa2;hpb=789f681013cdb7749c8b3347937de813bb51d3d0;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: