Refactoring of the code to match dolphin style

Changed access for offsetof + some clean up
This commit is contained in:
schthack
2022-07-08 10:20:18 -04:00
parent 01ada3850f
commit 087020b23a
8 changed files with 733 additions and 383 deletions

View File

@ -50,7 +50,7 @@ void BroadbandAdapterSettingsDialog::InitControls()
case Type::BuiltIn:
address_label = new QLabel(tr("Enter the DNS server to use:"));
address_placeholder = QString::fromStdString("8.8.8.8");
address_placeholder = QStringLiteral("8.8.8.8");
current_address = QString::fromStdString(Config::Get(Config::MAIN_BBA_BUILTIN_DNS));
description = new QLabel(tr("Use 8.8.8.8 for normal DNS, else enter your custom one"));