1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 07:38:10 +00:00

Userland: Use default initializer instead of an empty string for Buttons

This commit is contained in:
Karol Kosek 2023-02-12 10:37:38 +01:00 committed by Linus Groh
parent d32d4029d3
commit f802920a3a
3 changed files with 3 additions and 4 deletions

View file

@ -16,8 +16,7 @@ class ProcessorParameterToggle : public GUI::CheckBox {
public:
ProcessorParameterToggle(DSP::ProcessorBooleanParameter& parameter)
: CheckBox("")
, m_parameter(parameter)
: m_parameter(parameter)
{
on_checked = [this](auto checked) {
if (m_currently_setting_from_ui)