Commit 680dc5d7 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Qt: correctly fallback to filename when empty tags

(cherry picked from commit 6acd0f4c54dcd69d029106c2465cba19d99ff24b)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent fca47b65
......@@ -474,7 +474,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