Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 6 files). Show all
Unified · Split
| @@ -606,15 +606,6 @@ void TabletProxy::removeButton(QObject* tabletButtonProxy) { · 605 unmodified lines | |||
| 606 | } | 606 | } |
| 607 | } | 607 | } |
| 608 | 608 | ||
| 609 | void TabletProxy::updateMicEnabled(const bool micOn) { | ||
| 610 | auto tablet = getQmlTablet(); | ||
| 611 | if (!tablet) { | ||
| 612 | //qCCritical(scriptengine) << "Could not find tablet in TabletRoot.qml"; | ||
| 613 | } else { | ||
| 614 | QMetaObject::invokeMethod(tablet, "setMicEnabled", Qt::AutoConnection, Q_ARG(QVariant, QVariant(micOn))); | ||
| 615 | } | ||
| 616 | } | ||
| 617 | |||
| 618 | void TabletProxy::updateAudioBar(const double micLevel) { | 609 | void TabletProxy::updateAudioBar(const double micLevel) { |
| 619 | auto tablet = getQmlTablet(); | 610 | auto tablet = getQmlTablet(); |
| 620 | if (!tablet) { | 611 | if (!tablet) { |