aboutsummaryrefslogtreecommitdiff
path: root/src/qt/clientmodel.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <[email protected]>2018-10-02 23:12:17 +0300
committerHennadii Stepanov <[email protected]>2018-10-06 00:07:05 +0300
commit3045704502e8a241b60b847fd52fcbed3129a2e4 (patch)
tree5931b4aa916232f7b1e4828d98fbc92d89276d3b /src/qt/clientmodel.cpp
parentMerge #14389: travis: set codespell version to avoid breakage (diff)
downloaddiscoin-3045704502e8a241b60b847fd52fcbed3129a2e4.tar.xz
discoin-3045704502e8a241b60b847fd52fcbed3129a2e4.zip
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 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();