diff options
author | Idan Horowitz <idan.horowitz@gmail.com> | 2022-09-26 17:28:01 +0300 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-12-25 07:58:58 -0700 |
commit | edd1e770d9756a26c308400200d9ee813b798d35 (patch) | |
tree | 500316315bc9005debeab6952865f5651e5eb3c7 /Ladybird | |
parent | 5ac5fef468a959b18aed547bb4783a9e78a398b8 (diff) | |
download | serenity-edd1e770d9756a26c308400200d9ee813b798d35.zip |
Ladybird/BrowserWindow: Give color scheme action group a detailed name
'group' is not very specific.
Diffstat (limited to 'Ladybird')
-rw-r--r-- | Ladybird/BrowserWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Ladybird/BrowserWindow.cpp b/Ladybird/BrowserWindow.cpp index f05b7cd2be..874883cd75 100644 --- a/Ladybird/BrowserWindow.cpp +++ b/Ladybird/BrowserWindow.cpp @@ -62,23 +62,23 @@ BrowserWindow::BrowserWindow() auto* color_scheme_menu = view_menu->addMenu("&Color Scheme"); - auto* group = new QActionGroup(this); + auto* color_scheme_group = new QActionGroup(this); auto* auto_color_scheme = new QAction("&Auto"); auto_color_scheme->setCheckable(true); - group->addAction(auto_color_scheme); + color_scheme_group->addAction(auto_color_scheme); color_scheme_menu->addAction(auto_color_scheme); QObject::connect(auto_color_scheme, &QAction::triggered, this, &BrowserWindow::enable_auto_color_scheme); auto* light_color_scheme = new QAction("&Light"); light_color_scheme->setCheckable(true); - group->addAction(light_color_scheme); + color_scheme_group->addAction(light_color_scheme); color_scheme_menu->addAction(light_color_scheme); QObject::connect(light_color_scheme, &QAction::triggered, this, &BrowserWindow::enable_light_color_scheme); auto* dark_color_scheme = new QAction("&Dark"); dark_color_scheme->setCheckable(true); - group->addAction(dark_color_scheme); + color_scheme_group->addAction(dark_color_scheme); color_scheme_menu->addAction(dark_color_scheme); QObject::connect(dark_color_scheme, &QAction::triggered, this, &BrowserWindow::enable_dark_color_scheme); |