History

function style casting

Faye Li committed 9 years ago

Commit 75205181 parent 4391e9e1 file · +1 −1Browse files

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

Unified · Split

libraries/script-engine/src/TabletScriptingInterface.cpp+1−1
@@ -146,7 +146,7 @@ void TabletProxy::updateAudioBar(const double micLevel) { · 145 unmodified lines
146 if (!tablet) {146 if (!tablet) {
147 qCCritical(scriptengine) << "Could not find tablet in TabletRoot.qml";147 qCCritical(scriptengine) << "Could not find tablet in TabletRoot.qml";
148 } else {148 } else {
149 QMetaObject::invokeMethod(tablet, "setMicLevel", Qt::AutoConnection, Q_ARG(QVariant, QVariant::QVariant(micLevel)));149 QMetaObject::invokeMethod(tablet, "setMicLevel", Qt::AutoConnection, Q_ARG(QVariant, QVariant(micLevel)));
150 }150 }
151}151}
152 152