mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-08-05 08:55:59 +08:00
refactor(ui): Avoid inconsistent UI in dev mode
To avoid hiding bugs, the UI should behave the same in dev mode
This commit is contained in:
@@ -29,7 +29,6 @@ namespace swift::gui::components
|
||||
|
||||
const bool crashDumpUploadEnabled = m_crashDumpUploadEnabled.getThreadLocal();
|
||||
ui->cb_CrashDumps->setChecked(crashDumpUploadEnabled);
|
||||
ui->cb_Agree->setChecked(CBuildConfig::isLocalDeveloperDebugBuild());
|
||||
|
||||
connect(ui->cb_CrashDumps, &QCheckBox::toggled, this, &CLegalInfoComponent::onAllowCrashDumps);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user