Commit 7f60868c authored by Pierre Lamot's avatar Pierre Lamot Committed by Jean-Baptiste Kempf

qt: remove empty filter in file selector

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 0c4bf9fe
......@@ -493,6 +493,7 @@ QStringList DialogsProvider::showSimpleOpen( const QString& help,
}
ADD_EXT_FILTER( fileTypes, EXTENSIONS_ALL );
fileTypes.replace( ";*", " *");
fileTypes.chop(2); //remove trailling ";;"
QStringList urls = getOpenURL( NULL,
help.isEmpty() ? qtr(I_OP_SEL_FILES ) : help,
......
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