History

update QML with Audio.muted

Zach Pomerantz committed 9 years ago

Commit 20c0dac1 parent 337b6bc6 files · +5 −38Browse files

Showing the changes to libraries/script-engine/src/TabletScriptingInterface.cpp (1 of 6 files). Show all

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+0−9
@@ -606,15 +606,6 @@ void TabletProxy::removeButton(QObject* tabletButtonProxy) { · 605 unmodified lines
606 }606 }
607}607}
608 608
609void 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
618void TabletProxy::updateAudioBar(const double micLevel) {609void TabletProxy::updateAudioBar(const double micLevel) {
619 auto tablet = getQmlTablet();610 auto tablet = getQmlTablet();
620 if (!tablet) {611 if (!tablet) {