Commit 31981acc authored by Frederik Schwarzer's avatar Frederik Schwarzer
Browse files


parent 85e7d0f7
......@@ -87,13 +87,13 @@ bool KMahjonggLayout::load(const QString &file) {
KConfig bgconfig(file, KConfig::SimpleConfig);
KConfigGroup group ="KMahjonggLayout");
d->authorproperties.insert(QStringLiteral("Name"), group.readEntry("Name"));// Returns translated data
d->authorproperties.insert(QStringLiteral("Name"), group.readEntry("Name")); // Returns translated data
d->authorproperties.insert(QStringLiteral("Author"), group.readEntry("Author"));
d->authorproperties.insert(QStringLiteral("Description"), group.readEntry("Description"));
d->authorproperties.insert(QStringLiteral("AuthorEmail"), group.readEntry("AuthorEmail"));
// Version control
const int bgversion = group.readEntry("VersionFormat",0);
const int bgversion = group.readEntry("VersionFormat", 0);
// Format is increased when we have incompatible changes, meaning that older clients
// are not able to use the remaining information safely
if (bgversion > kLayoutVersionFormat) {
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