Commit 9cb3c475 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

qt: input item IDs are not negative

Or they are not until we have 2 billions of them, and even then, the
sign is not relevant.
parent f0573e67
......@@ -590,7 +590,7 @@ void PLModel::processInputItemUpdate( )
void PLModel::processInputItemUpdate( input_item_t *p_item )
{
if( !p_item || p_item->i_id <= 0 ) return;
if( !p_item ) return;
PLItem *item = findByInputId( rootItem, p_item->i_id );
if( item )
updateTreeItem( 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