mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
DesktopFile: Set UTF-8 codec
This commit is contained in:
parent
7c013f5342
commit
cd4f94574a
@ -26,6 +26,7 @@ DesktopFile::DesktopFile()
|
|||||||
DesktopFile::DesktopFile(const QString &filePath)
|
DesktopFile::DesktopFile(const QString &filePath)
|
||||||
{
|
{
|
||||||
m_settings.reset(new QSettings(filePath, QSettings::IniFormat));
|
m_settings.reset(new QSettings(filePath, QSettings::IniFormat));
|
||||||
|
m_settings->setIniCodec("UTF-8");
|
||||||
m_settings->beginGroup(QSL("Desktop Entry"));
|
m_settings->beginGroup(QSL("Desktop Entry"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user