lkml.org 
[lkml]   [2020]   [Aug]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 01/16] kconfig: qconf: rename 'config' to 'fileMenu'
    Date
    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
    \
     
     \ /
      Last update: 2020-08-02 18:19    [W:3.117 / U:1.988 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site