diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:29:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-12 15:39:34 +0900 |
commit | 51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3 (patch) | |
tree | 289d1261319b7c151c0f11c7917c057aa754026a /libkonq/knewmenu.cpp | |
parent | fa284a459858f2255c485240121f7cd1cc7d17a0 (diff) | |
download | tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.tar.gz tdebase-51230c05dc0d15dd4d6e6cce1020c6bac3a5cdd3.zip |
Use TDESimpleConfig
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libkonq/knewmenu.cpp')
-rw-r--r-- | libkonq/knewmenu.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libkonq/knewmenu.cpp b/libkonq/knewmenu.cpp index b6a5ffc18..051b3f236 100644 --- a/libkonq/knewmenu.cpp +++ b/libkonq/knewmenu.cpp @@ -146,7 +146,7 @@ void KNewMenu::parseFiles() // If a desktop file, then read the name from it. // Otherwise (or if no name in it?) use file name if ( KDesktopFile::isDesktopFile( filePath ) ) { - KSimpleConfig config( filePath, true ); + TDESimpleConfig config( filePath, true ); config.setDesktopGroup(); text = config.readEntry("Name"); (*templ).icon = config.readEntry("Icon"); @@ -333,7 +333,7 @@ void KNewMenu::slotFillTemplates() s_templatesList->prepend( e ); else { - KSimpleConfig config( *it, true ); + TDESimpleConfig config( *it, true ); config.setDesktopGroup(); // tricky solution to ensure that TextFile is at the beginning |