erroneously used localized strings in saved layout file
This commit is contained in:
@ -156,7 +156,7 @@ void Axis::timerCalled() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Axis::write( QTextStream &stream ) {
|
void Axis::write( QTextStream &stream ) {
|
||||||
stream << "\t" << getName() << ": ";
|
stream << "\tAxis " << (index+1) << ": ";
|
||||||
if (gradient) stream << "gradient, ";
|
if (gradient) stream << "gradient, ";
|
||||||
if (throttle > 0) stream << "throttle+, ";
|
if (throttle > 0) stream << "throttle+, ";
|
||||||
else if (throttle < 0) stream << "throttle-, ";
|
else if (throttle < 0) stream << "throttle-, ";
|
||||||
|
@ -60,7 +60,7 @@ bool Button::read( QTextStream &stream ) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Button::write( QTextStream &stream ) {
|
void Button::write( QTextStream &stream ) {
|
||||||
stream << "\t" << getName() << ": ";
|
stream << "\tButton " << (index+1) << ": ";
|
||||||
if (rapidfire) stream << "rapidfire, ";
|
if (rapidfire) stream << "rapidfire, ";
|
||||||
if (sticky) stream << "sticky, ";
|
if (sticky) stream << "sticky, ";
|
||||||
stream << (useMouse ? "mouse " : "key ") << keycode << "\n";
|
stream << (useMouse ? "mouse " : "key ") << keycode << "\n";
|
||||||
|
Reference in New Issue
Block a user