1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-04-21 08:21:54 +02:00

Convenience method GridView::itemSize().

This commit is contained in:
Christian Muehlhaeuser 2014-11-04 16:52:49 +01:00
parent 056ff3b8ce
commit 9e3d9b82d6
2 changed files with 8 additions and 0 deletions

View File

@ -496,6 +496,13 @@ GridView::setPlaylistInterface( const Tomahawk::playlistinterface_ptr& playlistI
}
QSize
GridView::itemSize() const
{
return m_delegate->itemSize();
}
void
GridView::setItemWidth( int width )
{

View File

@ -67,6 +67,7 @@ public:
void setEmptyTip( const QString& tip );
QSize itemSize() const;
int itemWidth() const { return m_itemWidth; }
void setItemWidth( int width );