[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [ktouch/next] src/core: core: fix a bug in the keyboard layout saving routine
From: Sebastian Gottfried <sebastiangottfried () web ! de>
Date: 2012-07-31 18:53:27
Message-ID: 20120731185327.E6F21A60C6 () git ! kde ! org
[Download RAW message or body]
Git commit 3d2b9a2e428baff6ecfdacf228dea52e3d740dbb by Sebastian Gottfried.
Committed on 31/07/2012 at 20:36.
Pushed by gottfried into branch 'next'.
core: fix a bug in the keyboard layout saving routine
Now special key labels are saved correctly.
M +1 -1 src/core/dataaccess.cpp
http://commits.kde.org/ktouch/3d2b9a2e428baff6ecfdacf228dea52e3d740dbb
diff --git a/src/core/dataaccess.cpp b/src/core/dataaccess.cpp
index fab692e..06407ca 100644
--- a/src/core/dataaccess.cpp
+++ b/src/core/dataaccess.cpp
@@ -325,7 +325,7 @@ bool DataAccess::storeKeyboardLayout(const QString& path, KeyboardLayout* source
{
keyElem.setAttribute("modifierId", modifierId);
}
- const QString label = specialKey->modifierId();
+ const QString label = specialKey->label();
if (!label.isNull())
{
keyElem.setAttribute("label", label);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic