+speedup in binds config (fixes issue 749)
authorunc0rr
Sat, 04 Jan 2014 23:30:52 +0400
changeset 9948 91a43c79cd4b
parent 9947 ff4e56775e9c
child 9950 2759212a27de
child 9951 b776cd642d0b
+speedup in binds config (fixes issue #749)
QTfrontend/binds.cpp
QTfrontend/binds.h
--- a/QTfrontend/binds.cpp	Sat Jan 04 02:41:23 2014 +0100
+++ b/QTfrontend/binds.cpp	Sat Jan 04 23:30:52 2014 +0400
@@ -65,6 +65,7 @@
     {"mute",      "8",          QT_TRANSLATE_NOOP("binds", "mute audio"),      NULL, NULL},
     {"fullscr",   "f12",        QT_TRANSLATE_NOOP("binds", "change mode"),     NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle fullscreen mode:")},
     {"capture",   "c",          QT_TRANSLATE_NOOP("binds", "capture"),         NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Take a screenshot:")},
+    {"+speedup",  "s",          QT_TRANSLATE_NOOP("binds", "speed up replay"),         NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Demo replay:")},
     {"rotmask",   "delete",     QT_TRANSLATE_NOOP("binds", "hedgehog info"), NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Toggle labels above hedgehogs:")},
 #ifdef VIDEOREC
     {"record",    "r",          QT_TRANSLATE_NOOP("binds", "record"),          NULL, QT_TRANSLATE_NOOP("binds (descriptions)", "Record video:")}
--- a/QTfrontend/binds.h	Sat Jan 04 02:41:23 2014 +0100
+++ b/QTfrontend/binds.h	Sat Jan 04 23:30:52 2014 +0400
@@ -22,9 +22,9 @@
 #include <QString>
 
 #ifdef VIDEOREC
-#define BINDS_NUMBER 46
+#define BINDS_NUMBER 47
 #else
-#define BINDS_NUMBER 45
+#define BINDS_NUMBER 46
 #endif
 
 struct BindAction