OTHER: Fix endles loop in server side browsing

This commit is contained in:
Thomas Frauendorfer 2009-08-26 22:24:09 +02:00
parent c6e5965e53
commit c458d2727f

View file

@ -164,6 +164,9 @@ BrowseModel::list_cb (const Xmms::List< Xmms::Dict > &res)
int
BrowseModel::rowCount (const QModelIndex &parent) const
{
if (parent.isValid())
return 0;
return m_list.size ();
}