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:
parent
056ff3b8ce
commit
9e3d9b82d6
@ -496,6 +496,13 @@ GridView::setPlaylistInterface( const Tomahawk::playlistinterface_ptr& playlistI
|
||||
}
|
||||
|
||||
|
||||
QSize
|
||||
GridView::itemSize() const
|
||||
{
|
||||
return m_delegate->itemSize();
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
GridView::setItemWidth( int width )
|
||||
{
|
||||
|
@ -67,6 +67,7 @@ public:
|
||||
|
||||
void setEmptyTip( const QString& tip );
|
||||
|
||||
QSize itemSize() const;
|
||||
int itemWidth() const { return m_itemWidth; }
|
||||
void setItemWidth( int width );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user