aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-10-02 23:12:17 +0300
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2018-10-06 00:07:05 +0300
commit3045704502e8a241b60b847fd52fcbed3129a2e4 (patch)
tree5931b4aa916232f7b1e4828d98fbc92d89276d3b /src/qt/clientmodel.cpp
parent4b4e9486af9a9b46997ebb579c58bf8d5f83a276 (diff)
downloadbitcoin-3045704502e8a241b60b847fd52fcbed3129a2e4.tar.xz
Add "Blocksdir" to Debug window
To get the current blocksdir is valuable for debug purposes after merging #12653.
Diffstat (limited to 'src/qt/clientmodel.cpp')
-rw-r--r--src/qt/clientmodel.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qt/clientmodel.cpp b/src/qt/clientmodel.cpp
index b2cf4b6399..183444efab 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();