Commit 6acd0f4c authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: correctly fallback to filename when empty tags

parent 8250e947
......@@ -466,7 +466,7 @@ void InputManager::UpdateName()
free( formated );
/* If we have Nothing */
if( name.isEmpty() )
if( name.simplified().isEmpty() )
{
char *uri = input_item_GetURI( input_GetItem( p_input ) );
char *file = uri ? strrchr( uri, '/' ) : NULL;
......
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