1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

DesktopFile: Set UTF-8 codec

This commit is contained in:
David Rosca 2018-02-11 14:38:06 +01:00
parent 7c013f5342
commit cd4f94574a
No known key found for this signature in database
GPG Key ID: EBC3FC294452C6D8

View File

@ -26,6 +26,7 @@ DesktopFile::DesktopFile()
DesktopFile::DesktopFile(const QString &filePath)
{
m_settings.reset(new QSettings(filePath, QSettings::IniFormat));
m_settings->setIniCodec("UTF-8");
m_settings->beginGroup(QSL("Desktop Entry"));
}