From f63706760622514a06cdb852482116b1b244c3b1 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Wed, 25 Aug 2021 08:24:31 -0400 Subject: [PATCH] fix: code review --- src/app/node/core.nim | 2 +- src/app/node/view.nim | 2 +- ui/app/AppLayouts/Node/NodeLayout.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/node/core.nim b/src/app/node/core.nim index 020b124669..13dd53b179 100644 --- a/src/app/node/core.nim +++ b/src/app/node/core.nim @@ -36,6 +36,6 @@ proc init*(self: NodeController) = self.status.events.on(SignalType.Stats.event) do (e:Args): self.view.setStats(StatsSignal(e).stats) - self.view.getBitsSet() + self.view.fetchBitsSet() self.view.init() diff --git a/src/app/node/view.nim b/src/app/node/view.nim index ed4e82742a..ba4d65cd43 100644 --- a/src/app/node/view.nim +++ b/src/app/node/view.nim @@ -154,7 +154,7 @@ QtObject: self.stats = stats self.statsChanged() - proc getBitsSet*(self: NodeView) = + proc fetchBitsSet*(self: NodeView) = self.bloomFiltersBitsSet("bitsSet") proc getBloomBitsSet(self: NodeView): int {.slot.} = diff --git a/ui/app/AppLayouts/Node/NodeLayout.qml b/ui/app/AppLayouts/Node/NodeLayout.qml index 6f22e433b1..51c6f2ca9f 100644 --- a/ui/app/AppLayouts/Node/NodeLayout.qml +++ b/ui/app/AppLayouts/Node/NodeLayout.qml @@ -50,7 +50,7 @@ Item { Layout.fillWidth: true StyledText { color: Style.current.lightBlueText - text: "Bloom Filter Usage" + text: qsTr("Bloom Filter Usage") Layout.rightMargin: Style.current.padding Layout.leftMargin: Style.current.padding Layout.fillWidth: true