Commit 50563b1b authored by Ilkka Ollakka's avatar Ilkka Ollakka

qt4: lock playlist littlebit later

parent c55d4df4
......@@ -943,10 +943,10 @@ void PLModel::search( const QString& search_text )
/*********** Popup *********/
void PLModel::popup( QModelIndex & index, QPoint &point, QModelIndexList list )
{
PL_LOCK;
int i_id;
if( index.isValid() ) i_id = itemId( index );
else i_id = rootItem->i_id;
PL_LOCK;
playlist_item_t *p_item = playlist_ItemGetById( p_playlist, i_id );
if( p_item )
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment