X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnickview.h;h=807a4d4399bea6dcafbc901cb4073d1957424e52;hb=444e91f948b435e652205c4d0f1148906e9e86dc;hp=cb263c4471f358026f8514d3bb4c948acb5d52c4;hpb=89c07686d193fe31e1b3ea45735b3f5a0d1e6cfb;p=quassel.git diff --git a/src/uisupport/nickview.h b/src/uisupport/nickview.h index cb263c44..807a4d43 100644 --- a/src/uisupport/nickview.h +++ b/src/uisupport/nickview.h @@ -29,6 +29,7 @@ class NickModel; +class LazySizeHint; class FilteredNickModel; class QSortFilterProxyModel; @@ -52,9 +53,8 @@ public slots: void startQuery(const QModelIndex & modelIndex); private: - QSize _sizeHint; - - void updateSizeHint(); + LazySizeHint *_sizeHint; + BufferInfo bufferInfoFromModelIndex(const QModelIndex & index); QString nickFromModelIndex(const QModelIndex & index); void executeCommand(const BufferInfo & bufferInfo, const QString & command);