MCPcopy Create free account
hub / github.com/ElementsProject/elements / setDataDirectory

Method setDataDirectory

src/qt/intro.cpp:180–193  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180void Intro::setDataDirectory(const QString &dataDir)
181{
182 ui->dataDirectory->setText(dataDir);
183 if(dataDir == GUIUtil::getDefaultDataDirectory())
184 {
185 ui->dataDirDefault->setChecked(true);
186 ui->dataDirectory->setEnabled(false);
187 ui->ellipsisButton->setEnabled(false);
188 } else {
189 ui->dataDirCustom->setChecked(true);
190 ui->dataDirectory->setEnabled(true);
191 ui->ellipsisButton->setEnabled(true);
192 }
193}
194
195int64_t Intro::getPruneMiB() const
196{

Callers 1

showIfNeededMethod · 0.80

Calls 3

getDefaultDataDirectoryFunction · 0.85
setTextMethod · 0.80
setEnabledMethod · 0.45

Tested by

no test coverage detected