X-Git-Url: https://git.sur5r.net/?p=minitube;a=blobdiff_plain;f=src%2Fplaylist%2FPrettyItemDelegate.h;h=8934f578a597361de6465c282a6f391c1e9bc557;hp=42605587a1920ff347ec234698c2a7321c72af1d;hb=3c8c537559e6bef5f019196b0989e95863ddd3ee;hpb=57c25e20a8f10a98a18dbc2b64ce55cf87d4fd7c diff --git a/src/playlist/PrettyItemDelegate.h b/src/playlist/PrettyItemDelegate.h index 4260558..8934f57 100644 --- a/src/playlist/PrettyItemDelegate.h +++ b/src/playlist/PrettyItemDelegate.h @@ -18,6 +18,7 @@ public: QSize sizeHint( const QStyleOptionViewItem&, const QModelIndex& ) const; void paint( QPainter*, const QStyleOptionViewItem&, const QModelIndex& ) const; QRect downloadButtonRect(QRect line) const; + QRect authorRect(const QModelIndex& index) const; private: void createPlayIcon(); @@ -44,6 +45,7 @@ private: bool downloadInfo; QProgressBar *progressBar; + }; #endif