xine-backend: Remove protocols from supported extensions

This caused problems with the extension filter of the file opener dialog.

This fixes TDE/tdemultimedia#58.

Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
pull/27/head
Mavridis Philippe 1 year ago
parent 06028cccb1
commit f77fe94e0e
No known key found for this signature in database
GPG Key ID: 93F66F98F906147D

@ -1830,6 +1830,7 @@ TQString XinePart::supportedExtensions()
return TQString();
TQString ext = m_xine->getSupportedExtensions();
ext = ext.remove(TQRegExp("[A-Za-z]+:[/]+"));
ext = ext.remove("txt");
ext = "*." + ext;
ext.append(" smil");

Loading…
Cancel
Save