Skip to content

Commit cf999c4

Browse files
committed
Cleaned up
1 parent dc944f7 commit cf999c4

File tree

3 files changed

+7
-37
lines changed

3 files changed

+7
-37
lines changed

mist/assets/debugger/debugger.qml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ ApplicationWindow {
357357
anchors.right: parent.right
358358
model: ListModel {
359359
ListElement { text: "Snippets" ; value: "" }
360-
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" }
360+
ListElement { text: "Call Contract" ; value: "var[2] in = { \"arg1\", 0xdeadbeef };\nvar ret;\n\nvar success = call(0x0c542ddea93dae0c2fcb2cf175f03ad80d6be9a0, 0, 7000, in, ret)\n\nreturn ret" }
361361
}
362362
onCurrentIndexChanged: {
363363
if(currentIndex != 0) {

mist/assets/ext/html_messaging.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,6 @@
459459

460460
g_seed++;
461461

462-
console.log(data)
463462
navigator.qt.postMessage(JSON.stringify(data));
464463
}
465464

mist/assets/qml/views/info.qml

Lines changed: 6 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -121,40 +121,7 @@ Rectangle {
121121
}
122122
}
123123

124-
Slider {
125-
id: logLevelSlider
126-
value: gui.getLogLevelInt()
127-
anchors {
128-
right: parent.right
129-
top: parent.top
130-
bottom: parent.bottom
131-
132-
rightMargin: 5
133-
leftMargin: 5
134-
topMargin: 5
135-
bottomMargin: 5
136-
}
137-
138-
orientation: Qt.Vertical
139-
maximumValue: 5
140-
stepSize: 1
141-
142-
onValueChanged: {
143-
gui.setLogLevel(value)
144-
}
145-
}
146-
}
147-
148-
property var logModel: ListModel {
149-
id: logModel
150-
}
151-
152-
/*
153-
RowLayout {
154-
id: logLayout
155-
width: parent.width
156-
height: 200
157-
anchors.bottom: parent.bottom
124+
/*
158125
TableView {
159126
id: logView
160127
headerVisible: false
@@ -169,6 +136,7 @@ Rectangle {
169136
170137
model: logModel
171138
}
139+
*/
172140

173141
Slider {
174142
id: logLevelSlider
@@ -193,7 +161,10 @@ Rectangle {
193161
}
194162
}
195163
}
196-
*/
164+
165+
property var logModel: ListModel {
166+
id: logModel
167+
}
197168

198169
function addDebugMessage(message){
199170
debuggerLog.append({value: message})

0 commit comments

Comments
 (0)