| 414 | } |
| 415 | |
| 416 | void TransmitModel::toggleTwoToneTune() |
| 417 | { |
| 418 | if (isTuning()) { |
| 419 | stopTune(); |
| 420 | // Revert to single_tone after a two-tone shortcut session so the |
| 421 | // next regular Tune press isn't surprised by sticky two-tone state |
| 422 | // on the radio. Tune mode is no longer persisted; selecting "Two |
| 423 | // Tone" is now a transient one-shot via the TUNE button's right- |
| 424 | // click menu in TxApplet. |
| 425 | setTuneMode(QStringLiteral("single_tone")); |
| 426 | } else { |
| 427 | startTwoToneTune(); |
| 428 | } |
| 429 | } |
| 430 | |
| 431 | void TransmitModel::stopTune() |
| 432 | { |
no outgoing calls