diff options
author | obscuren <geffobscura@gmail.com> | 2014-09-26 19:34:06 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-09-26 19:34:06 +0800 |
commit | cf999c46220829a5b240e09f11e29748fe94ec35 (patch) | |
tree | d9e91501a55891455edcf3e6283dd956b069e4d1 | |
parent | dc944f75186bbee08ad8cd1dad8a296dc71f99bc (diff) | |
download | go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.tar go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.tar.gz go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.tar.bz2 go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.tar.lz go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.tar.xz go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.tar.zst go-tangerine-cf999c46220829a5b240e09f11e29748fe94ec35.zip |
Cleaned up
-rw-r--r-- | mist/assets/debugger/debugger.qml | 2 | ||||
-rw-r--r-- | mist/assets/ext/html_messaging.js | 1 | ||||
-rw-r--r-- | mist/assets/qml/views/info.qml | 41 |
3 files changed, 7 insertions, 37 deletions
diff --git a/mist/assets/debugger/debugger.qml b/mist/assets/debugger/debugger.qml index 8d54b5b5d..b30d20e6b 100644 --- a/mist/assets/debugger/debugger.qml +++ b/mist/assets/debugger/debugger.qml @@ -357,7 +357,7 @@ ApplicationWindow { anchors.right: parent.right model: ListModel { ListElement { text: "Snippets" ; value: "" } - ListElement { text: "Call Contract" ; value: "var[2] in;\nvar ret;\n\nin[0] = \"arg1\"\nin[1] = 0xdeadbeef\n\nvar success = call(0x0c542ddea93dae0c2fcb2cf175f03ad80d6be9a0, 0, 7000, in, ret)\n\nreturn ret" } + ListElement { text: "Call Contract" ; value: "var[2] in = { \"arg1\", 0xdeadbeef };\nvar ret;\n\nvar success = call(0x0c542ddea93dae0c2fcb2cf175f03ad80d6be9a0, 0, 7000, in, ret)\n\nreturn ret" } } onCurrentIndexChanged: { if(currentIndex != 0) { diff --git a/mist/assets/ext/html_messaging.js b/mist/assets/ext/html_messaging.js index 0bedba997..1f9418148 100644 --- a/mist/assets/ext/html_messaging.js +++ b/mist/assets/ext/html_messaging.js @@ -459,7 +459,6 @@ g_seed++; - console.log(data) navigator.qt.postMessage(JSON.stringify(data)); } diff --git a/mist/assets/qml/views/info.qml b/mist/assets/qml/views/info.qml index 8a1d4d84a..158e2c960 100644 --- a/mist/assets/qml/views/info.qml +++ b/mist/assets/qml/views/info.qml @@ -121,40 +121,7 @@ Rectangle { } } - Slider { - id: logLevelSlider - value: gui.getLogLevelInt() - anchors { - right: parent.right - top: parent.top - bottom: parent.bottom - - rightMargin: 5 - leftMargin: 5 - topMargin: 5 - bottomMargin: 5 - } - - orientation: Qt.Vertical - maximumValue: 5 - stepSize: 1 - - onValueChanged: { - gui.setLogLevel(value) - } - } - } - - property var logModel: ListModel { - id: logModel - } - - /* - RowLayout { - id: logLayout - width: parent.width - height: 200 - anchors.bottom: parent.bottom + /* TableView { id: logView headerVisible: false @@ -169,6 +136,7 @@ Rectangle { model: logModel } + */ Slider { id: logLevelSlider @@ -193,7 +161,10 @@ Rectangle { } } } - */ + + property var logModel: ListModel { + id: logModel + } function addDebugMessage(message){ debuggerLog.append({value: message}) |