erroneously used localized strings in saved layout file

This commit is contained in:
Mathias Panzenböck
2015-12-18 14:38:50 +01:00
parent db9065406c
commit eebcc44bb8
2 changed files with 2 additions and 2 deletions

View File

@ -156,7 +156,7 @@ void Axis::timerCalled() {
}
void Axis::write( QTextStream &stream ) {
stream << "\t" << getName() << ": ";
stream << "\tAxis " << (index+1) << ": ";
if (gradient) stream << "gradient, ";
if (throttle > 0) stream << "throttle+, ";
else if (throttle < 0) stream << "throttle-, ";

View File

@ -60,7 +60,7 @@ bool Button::read( QTextStream &stream ) {
}
void Button::write( QTextStream &stream ) {
stream << "\t" << getName() << ": ";
stream << "\tButton " << (index+1) << ": ";
if (rapidfire) stream << "rapidfire, ";
if (sticky) stream << "sticky, ";
stream << (useMouse ? "mouse " : "key ") << keycode << "\n";