fix: code review
This commit is contained in:
parent
1969130fad
commit
f637067606
|
@ -36,6 +36,6 @@ proc init*(self: NodeController) =
|
||||||
|
|
||||||
self.status.events.on(SignalType.Stats.event) do (e:Args):
|
self.status.events.on(SignalType.Stats.event) do (e:Args):
|
||||||
self.view.setStats(StatsSignal(e).stats)
|
self.view.setStats(StatsSignal(e).stats)
|
||||||
self.view.getBitsSet()
|
self.view.fetchBitsSet()
|
||||||
|
|
||||||
self.view.init()
|
self.view.init()
|
||||||
|
|
|
@ -154,7 +154,7 @@ QtObject:
|
||||||
self.stats = stats
|
self.stats = stats
|
||||||
self.statsChanged()
|
self.statsChanged()
|
||||||
|
|
||||||
proc getBitsSet*(self: NodeView) =
|
proc fetchBitsSet*(self: NodeView) =
|
||||||
self.bloomFiltersBitsSet("bitsSet")
|
self.bloomFiltersBitsSet("bitsSet")
|
||||||
|
|
||||||
proc getBloomBitsSet(self: NodeView): int {.slot.} =
|
proc getBloomBitsSet(self: NodeView): int {.slot.} =
|
||||||
|
|
|
@ -50,7 +50,7 @@ Item {
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
StyledText {
|
StyledText {
|
||||||
color: Style.current.lightBlueText
|
color: Style.current.lightBlueText
|
||||||
text: "Bloom Filter Usage"
|
text: qsTr("Bloom Filter Usage")
|
||||||
Layout.rightMargin: Style.current.padding
|
Layout.rightMargin: Style.current.padding
|
||||||
Layout.leftMargin: Style.current.padding
|
Layout.leftMargin: Style.current.padding
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
|
|
Loading…
Reference in New Issue