Rename all the settings accessor functions

Rename the settings accessor functions from Settings::getSettingsValue()
(and similar) to Settings::getValue() (and similar). The 'Settings' bit
seems a bit redundant and costs a lot of screen space.
This commit is contained in:
Martin Kleusberg
2017-03-20 23:16:52 +01:00
parent e6390b4d22
commit f1194d845e
18 changed files with 167 additions and 166 deletions

View File

@@ -513,7 +513,7 @@ void EditTableDialog::addField()
typeBox->setEditable(true);
typeBox->addItems(sqlb::Field::Datatypes);
int defaultFieldTypeIndex = Settings::getSettingsValue("db", "defaultfieldtype").toInt();
int defaultFieldTypeIndex = Settings::getValue("db", "defaultfieldtype").toInt();
if (defaultFieldTypeIndex < sqlb::Field::Datatypes.count())
{