diff --git a/interface/resources/qml/hifi/tablet/Tablet.qml b/interface/resources/qml/hifi/tablet/Tablet.qml index 93d388b374..9a4be95b64 100644 --- a/interface/resources/qml/hifi/tablet/Tablet.qml +++ b/interface/resources/qml/hifi/tablet/Tablet.qml @@ -166,28 +166,6 @@ Item { anchors.top: parent.top anchors.topMargin: 30 } - - Component.onCompleted: { - console.log("Tablet.onCompleted!"); - var component = Qt.createComponent("TabletButton.qml"); - var buttons = []; - for (var i = 0; i < 6; i++) { - var button = component.createObject(flowMain); - button.inDebugMode = true; - buttons.push(button); - } - - // set button text - buttons[0].text = "MUTE"; - buttons[1].text = "VR"; - buttons[2].text = "MENU"; - buttons[3].text = "BUBBLE"; - buttons[4].text = "SNAP"; - buttons[5].text = "HELP"; - - // set button icon - buttons[0].icon = "icons/tablet-mute-icon.svg" - } } states: [ State {