[PATCH 01/16] kconfig: qconf: rename 'config' to 'fileMenu'

Masahiro Yamada
2020-08-02T16:17:41Z

Rename for clarification and consistency.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

scripts/kconfig/qconf.cc | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index 23d1cb01a41a..9513c0ba8d0c 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1517,13 +1517,13 @@ ConfigMainWindow::ConfigMainWindow(void)
toolBar->addAction(splitViewAction);
toolBar->addAction(fullViewAction);

- // create config menu
- QMenu* config = menu->addMenu("&File");
- config->addAction(loadAction);
- config->addAction(saveAction);
- config->addAction(saveAsAction);
- config->addSeparator();
- config->addAction(quitAction);
+ // create file menu
+ QMenu *fileMenu = menu->addMenu("&File");
+ fileMenu->addAction(loadAction);
+ fileMenu->addAction(saveAction);
+ fileMenu->addAction(saveAsAction);
+ fileMenu->addSeparator();
+ fileMenu->addAction(quitAction);

// create edit menu
QMenu* editMenu = menu->addMenu("&Edit");
--
2.25.1