summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-11-24 21:06:02 +0200
committerMavridis Philippe <[email protected]>2023-11-24 21:18:12 +0200
commitf77fe94e0e2d47a0bae7d9d049003ddf2d66bea2 (patch)
treec8e55a1d93dfb85a1ac5f354ce6a47bcd1e78902
parent06028cccb1f7bd7b2058583d9fdf49fbe9954fd3 (diff)
downloadkaffeine-f77fe94e0e2d47a0bae7d9d049003ddf2d66bea2.tar.gz
kaffeine-f77fe94e0e2d47a0bae7d9d049003ddf2d66bea2.zip
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 <[email protected]>
-rw-r--r--kaffeine/src/player-parts/xine-part/xine_part.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/kaffeine/src/player-parts/xine-part/xine_part.cpp b/kaffeine/src/player-parts/xine-part/xine_part.cpp
index 52f9b7f..bde4d8b 100644
--- a/kaffeine/src/player-parts/xine-part/xine_part.cpp
+++ b/kaffeine/src/player-parts/xine-part/xine_part.cpp
@@ -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");