Changeset View
Changeset View
Standalone View
Standalone View
src/qt/clientmodel.cpp
Show First 20 Lines • Show All 189 Lines • ▼ Show 20 Lines | QString ClientModel::formatClientStartupTime() const { | ||||
return QDateTime::fromTime_t(GetStartupTime()).toString(); | return QDateTime::fromTime_t(GetStartupTime()).toString(); | ||||
} | } | ||||
QString ClientModel::dataDir() const { | QString ClientModel::dataDir() const { | ||||
return GUIUtil::boostPathToQString(GetDataDir()); | return GUIUtil::boostPathToQString(GetDataDir()); | ||||
} | } | ||||
QString ClientModel::blocksDir() const { | QString ClientModel::blocksDir() const { | ||||
return GUIUtil::boostPathToQString(GetBlocksDir()); | return GUIUtil::boostPathToQString(gArgs.GetBlocksDirPath()); | ||||
} | } | ||||
void ClientModel::updateBanlist() { | void ClientModel::updateBanlist() { | ||||
banTableModel->refresh(); | banTableModel->refresh(); | ||||
} | } | ||||
// Handlers for core signals | // Handlers for core signals | ||||
static void ShowProgress(ClientModel *clientmodel, const std::string &title, | static void ShowProgress(ClientModel *clientmodel, const std::string &title, | ||||
▲ Show 20 Lines • Show All 119 Lines • Show Last 20 Lines |