[Qt] Debug window: replace "Build date" with "Datadir"

The build date does only makes sense for custom/self-compiled bitcoin-core versions because we are using static build-dates for our deterministic release builds.
Having a quick option to get the current datadir is much more valuable for debug purposes.
This commit is contained in:
Jonas Schnelli
2016-03-22 08:40:10 +01:00
parent c946a15075
commit 4856f1d671
4 changed files with 12 additions and 3 deletions

View File

@@ -193,6 +193,11 @@ QString ClientModel::formatClientStartupTime() const
return QDateTime::fromTime_t(nClientStartupTime).toString();
}
QString ClientModel::dataDir() const
{
return QString::fromStdString(GetDataDir().string());
}
void ClientModel::updateBanlist()
{
banTableModel->refresh();