From 3045704502e8a241b60b847fd52fcbed3129a2e4 Mon Sep 17 00:00:00 2001 From: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> Date: Tue, 2 Oct 2018 23:12:17 +0300 Subject: Add "Blocksdir" to Debug window To get the current blocksdir is valuable for debug purposes after merging #12653. --- src/qt/clientmodel.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/qt/clientmodel.cpp') diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp index b2cf4b639..183444efa 100644 --- a/src/qt/clientmodel.cpp +++ b/src/qt/clientmodel.cpp @@ -177,6 +177,11 @@ QString ClientModel::dataDir() const return GUIUtil::boostPathToQString(GetDataDir()); } +QString ClientModel::blocksDir() const +{ + return GUIUtil::boostPathToQString(GetBlocksDir()); +} + void ClientModel::updateBanlist() { banTableModel->refresh(); -- cgit v1.2.3