1
0
This commit is contained in:
MatMoul 2024-03-09 15:25:16 +01:00
parent be4ece3cf2
commit 9a31d24485

View File

@ -124,7 +124,7 @@ void CustomDesktopMenu::parseConfig()
// .desktop file // .desktop file
if(KDesktopFile::isDesktopFile(cfgLine) == true) { if(KDesktopFile::isDesktopFile(cfgLine) == true) {
KDesktopFile desktopFile(cfgLine); KDesktopFile desktopFile(cfgLine);
QString text = desktopFile.name(); QString text = desktopFile.readName();
if (!m_showAppsByName && !desktopFile.readGenericName().isEmpty()) { if (!m_showAppsByName && !desktopFile.readGenericName().isEmpty()) {
text = desktopFile.readGenericName(); text = desktopFile.readGenericName();
} }