[vlc-commits] Qt: correctly fallback to filename when empty tags
Jean-Baptiste Kempf
git at videolan.org
Mon May 14 14:22:20 CEST 2012
vlc/vlc-2.0 | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon May 14 14:10:16 2012 +0200| [680dc5d7b1281d7a7a3bf7404dd2f753218b3d85] | committer: Jean-Baptiste Kempf
Qt: correctly fallback to filename when empty tags
(cherry picked from commit 6acd0f4c54dcd69d029106c2465cba19d99ff24b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.0.git/?a=commit;h=680dc5d7b1281d7a7a3bf7404dd2f753218b3d85
---
modules/gui/qt4/input_manager.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/gui/qt4/input_manager.cpp b/modules/gui/qt4/input_manager.cpp
index f126e07..9f43bd3 100644
--- a/modules/gui/qt4/input_manager.cpp
+++ b/modules/gui/qt4/input_manager.cpp
@@ -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;
More information about the vlc-commits
mailing list