mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-21 11:31:00 -06:00
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:
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user