[utilities/kdebugsettings] src/core: Remove dead code

Laurent Montel <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 7ae00b9d4bf25a755238040e5c8318cabea1d1d3 by Laurent Montel.
Committed on 18/07/2026 at 16:04.
Pushed by mlaurent into branch 'master'.

Remove dead code

M  +0    -5    src/core/loggingmanager.cpp
M  +0    -3    src/core/loggingmanager.h

https://invent.kde.org/utilities/kdebugsettings/-/commit/7ae00b9d4bf25a755238040e5c8318cabea1d1d3

diff --git a/src/core/loggingmanager.cpp b/src/core/loggingmanager.cpp
index 94d51e0a..0d9b18bd 100644
--- a/src/core/loggingmanager.cpp
+++ b/src/core/loggingmanager.cpp
@@ -77,11 +77,6 @@ bool LoggingManager::saveRules(const QString &path, bool forceSavingAllRules)
     return true;
 }
 
-KDebugSettingsLoadingCategories LoggingManager::loggings() const
-{
-    return mLoggings;
-}
-
 void LoggingManager::readCategoriesFiles(const QString &path)
 {
     mLoggings.readCategoriesFiles(path);
diff --git a/src/core/loggingmanager.h b/src/core/loggingmanager.h
index 04cd3c74..b530e66a 100644
--- a/src/core/loggingmanager.h
+++ b/src/core/loggingmanager.h
@@ -36,9 +36,6 @@ public:
 
     [[nodiscard]] bool foundOverrideRule() const;
 
-    // Remove it when we will port kdebugsettings to models.
-    [[nodiscard]] KDebugSettingsLoadingCategories loggings() const;
-
     void readCategoriesFiles(const QString &path);
 
     [[nodiscard]] KdeLoggingCategory::List categoriesList() const;
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.