Implement model, controller and UI for killswitch dns exceptions
This commit is contained in:
parent
bb883b4880
commit
0466e71d49
14 changed files with 693 additions and 2 deletions
|
|
@ -558,3 +558,13 @@ void Settings::disableHomeAdLabel()
|
|||
{
|
||||
setValue("Conf/homeAdLabelVisible", false);
|
||||
}
|
||||
|
||||
QStringList Settings::allowedDnsServers() const
|
||||
{
|
||||
return value("Conf/allowedDnsServers").toStringList();
|
||||
}
|
||||
|
||||
void Settings::setAllowedDnsServers(const QStringList &servers)
|
||||
{
|
||||
setValue("Conf/allowedDnsServers", servers);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue