summaryrefslogtreecommitdiffhomepage
path: root/opentrack/shortcuts.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2015-07-25 05:18:01 +0200
committerStanislaw Halik <sthalik@misaki.pl>2015-07-25 05:18:01 +0200
commit8494245b92e02f982a506ed044a555db239bd4d6 (patch)
tree1e95e64f71114ec038b8bab0cc6d7685b642925e /opentrack/shortcuts.h
parent37c10386155bc4fed4db910fcd5c7662347f576e (diff)
shortcuts: store .ini value as portable string
Diffstat (limited to 'opentrack/shortcuts.h')
-rw-r--r--opentrack/shortcuts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/opentrack/shortcuts.h b/opentrack/shortcuts.h
index 6a9a6f77..2d7fec54 100644
--- a/opentrack/shortcuts.h
+++ b/opentrack/shortcuts.h
@@ -27,10 +27,10 @@ using namespace options;
extern QList<QString> global_key_sequences;
struct key_opts {
- value<int> keycode;
+ value<QString> keycode;
key_opts(pbundle b, const QString& name) :
- keycode(b, QString("keycode-%1").arg(name), 0)
+ keycode(b, QString("keycode-%1").arg(name), "")
{}
};