MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / deleteSettingsRecordString

Method deleteSettingsRecordString

sources/db/SettingsTable.cpp:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85bool SettingsTable::deleteSettingsRecordString(const QString& type) const
86{
87 QVariantMap results;
88 VectorPair cond;
89 cond.append(CPair("type", type));
90 // when a setting is not global we are searching also for the instance
91 if (!isSettingGlobal(type))
92 cond.append(CPair("AND " + INSTANCE_COLUMN, _instance));
93 return deleteRecord(cond);
94}
95
96bool SettingsTable::purge(const QString& type) const
97{

Callers 1

upgradeDBMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected