mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 22:50:59 +01:00
Add const to methods that do not modify the object for which it is called
This commit is contained in:
@@ -441,7 +441,7 @@ void OptionsModel::setRestartRequired(bool fRequired)
|
||||
return settings.setValue("fRestartRequired", fRequired);
|
||||
}
|
||||
|
||||
bool OptionsModel::isRestartRequired()
|
||||
bool OptionsModel::isRestartRequired() const
|
||||
{
|
||||
QSettings settings;
|
||||
return settings.value("fRestartRequired", false).toBool();
|
||||
|
||||
Reference in New Issue
Block a user