[utilities/kate] addons/filebrowser: katefilebrowser: disable mime filters

Antti Savolainen <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit f1b1263bd3d8f4e5a4271b3c3ab550b7ca707b22 by Antti Savolainen.
Committed on 31/07/2026 at 14:22.
Pushed by asavolainen into branch 'master'.

katefilebrowser: disable mime filters

The mimefilter functionality is being fixed in https://invent.kde.org/frameworks/kio/-/merge_requests/2302.
This is a quick fix so that templates people are used to using don't go missing.

M  +2    -2    addons/filebrowser/katefilebrowser.cpp

https://invent.kde.org/utilities/kate/-/commit/f1b1263bd3d8f4e5a4271b3c3ab550b7ca707b22

diff --git a/addons/filebrowser/katefilebrowser.cpp b/addons/filebrowser/katefilebrowser.cpp
index 071c2b70e3..122f87c730 100644
--- a/addons/filebrowser/katefilebrowser.cpp
+++ b/addons/filebrowser/katefilebrowser.cpp
@@ -85,8 +85,8 @@ KateFileBrowser::KateFileBrowser(KTextEditor::MainWindow *mainWindow, QWidget *p
 
     // Mime filter for the KDirOperator
     QStringList filter;
-    filter << QStringLiteral("text/html") << QStringLiteral("inode/directory");
-    filter << QStringLiteral("application/x-zerosize");
+    // filter << QStringLiteral("text/html") << QStringLiteral("inode/directory");
+    // filter << QStringLiteral("application/x-zerosize");
     m_dirOperator->setNewFileMenuSupportedMimeTypes(filter);
 
     setFocusProxy(m_dirOperator);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.