Commit 0fe26e80 authored by Christian Kandeler's avatar Christian Kandeler
Browse files

Maemo: Add default icon name to desktop file.

parent cb11e601
......@@ -340,6 +340,10 @@ bool MaemoTemplatesManager::updateDesktopFile(const Qt4Target *target,
findLine("Name=", desktopFileContents, nameNewLinePos, nameValuePos);
if (nameNewLinePos == nameValuePos)
desktopFileContents.insert(nameValuePos, appName.toUtf8());
int iconNewLinePos, iconValuePos;
findLine("Icon=", desktopFileContents, iconNewLinePos, iconValuePos);
if (iconNewLinePos == iconValuePos)
desktopFileContents.insert(iconValuePos, appName.toUtf8());
Supports Markdown
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