void BrowseModel::setPath (const QModelIndex &index) { BrowseModelItem *item = m_list.at (index.row ()); m_client->xform.browse (item->data("path").toStdString ()) (Xmms::bind (&BrowseModel::list_cb, this)); m_current_dir = item->data ("path"); }