1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-09 07:36:48 +02:00

Merge branch 'dynamic' of github.com:tomahawk-player/tomahawk into dynamic

This commit is contained in:
Leo Franchi
2011-01-30 10:35:29 -05:00
2 changed files with 8 additions and 0 deletions

View File

@@ -180,6 +180,13 @@ DynamicWidget::playlistInterface() const
return m_view->proxyModel();
}
QSize
DynamicWidget::sizeHint() const
{
// We want to take up as much room as the animated splitter containing us and the queue editor will allow. So we return a bogus huge sizehint
// to avoid having to calculate it which is slow
return QSize( 5000, 5000 );
}
void
DynamicWidget::generateOrStart()
{

View File

@@ -58,6 +58,7 @@ public:
PlaylistInterface* playlistInterface() const;
virtual QSize sizeHint() const;
public slots:
void onRevisionLoaded( const Tomahawk::DynamicPlaylistRevision& rev );