fix: code review

This commit is contained in:
Richard Ramos 2021-08-25 08:24:31 -04:00 committed by Iuri Matias
parent 1969130fad
commit f637067606
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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.} =

View File

@ -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