diff options
author | Mavridis Philippe <[email protected]> | 2023-11-24 21:06:02 +0200 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2023-11-25 13:25:41 +0200 |
commit | 018ae98906519efbb823b09642d0acd772b6998d (patch) | |
tree | 21c59e42ff07bd05553962ad4a50b6b1921955cb | |
parent | 283e19b903044bebce1e862f0c67f6afb727097e (diff) | |
download | kaffeine-018ae98906519efbb823b09642d0acd772b6998d.tar.gz kaffeine-018ae98906519efbb823b09642d0acd772b6998d.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]>
(cherry picked from commit f77fe94e0e2d47a0bae7d9d049003ddf2d66bea2)
-rw-r--r-- | kaffeine/src/player-parts/xine-part/xine_part.cpp | 1 |
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"); |