Lines 521-530
Link Here
|
521 |
qDebug("line: '%s'", line.toUtf8().data()); |
521 |
qDebug("line: '%s'", line.toUtf8().data()); |
522 |
if (rx.indexIn(line) > -1) { |
522 |
if (rx.indexIn(line) > -1) { |
523 |
QString command = rx.cap(1); |
523 |
QString command = rx.cap(1); |
524 |
QString accelText = rx.cap(2); |
524 |
QString context = rx.cap(2); |
525 |
QString midiText = rx.cap(3) + " " + rx.cap(4) + " " + rx.cap(5); |
525 |
QString accelText = rx.cap(3); |
|
|
526 |
QString midiText = rx.cap(4) + " " + rx.cap(5) + " " + rx.cap(6); |
526 |
qDebug(" command: '%s' context: '%s' accel: '%s' midi: '%s'", |
527 |
qDebug(" command: '%s' context: '%s' accel: '%s' midi: '%s'", |
527 |
command.toUtf8().data(), accelText.toUtf8().data(), midiText.toUtf8().data()); |
528 |
command.toUtf8().data(), context.toUtf8().data(), accelText.toUtf8().data(), midiText.toUtf8().data()); |
528 |
// @ToDo: command name is not identical to command identifier! |
529 |
// @ToDo: command name is not identical to command identifier! |
529 |
row = findActionCommand(command); |
530 |
row = findActionCommand(command); |
530 |
if (row > -1) { |
531 |
if (row > -1) { |