Rename to save Z txs

This commit is contained in:
Aditya Kulkarni
2018-10-23 22:13:45 -07:00
parent 4c58f70a31
commit cdc46b3022
8 changed files with 42 additions and 39 deletions

View File

@@ -11,17 +11,13 @@ Settings::~Settings() {
delete uisettings;
}
bool Settings::getSaveSent() {
bool Settings::getSaveZtxs() {
// Load from the QT Settings.
QSettings s;
return s.value("options/savesenttx", true).toBool();
return QSettings().value("options/savesenttx", true).toBool();
}
void Settings::setSaveSent(bool savesent) {
QSettings s;
s.setValue("options/savesenttx", savesent);
void Settings::setSaveZtxs(bool save) {
QSettings().setValue("options/savesenttx", save);
}
Settings* Settings::init() {