Commit 3080b280 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

[kcms/autostart] Keep capitalization of desktop file names

desktopEntry() is always lowercase. Use storageId() to get the original
file name.

BUG: 438406
(cherry picked from commit 906223bd)
parent 398762cf
......@@ -225,7 +225,7 @@ void AutostartModel::addApplication(const KService::Ptr &service)
} else {
desktopPath = m_xdgAutoStartPath.filePath(service->desktopEntryName() + QStringLiteral(".desktop"));
desktopPath = m_xdgAutoStartPath.filePath(service->storageId());
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment