]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
kconfig: qconf: remove toolBar from ConfigMainWindow members
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 7 Aug 2020 09:18:54 +0000 (18:18 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Fri, 14 Aug 2020 04:30:04 +0000 (13:30 +0900)
This pointer is only used in the ConfigMainWindow constructor.

Drop it from the private members.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc
scripts/kconfig/qconf.h

index e14b2b97419902e88eb7341b951d432489b787c3..f2f5875979fe3d3ec7c33099ab78de4dcfd55d62 100644 (file)
@@ -1432,7 +1432,7 @@ ConfigMainWindow::ConfigMainWindow(void)
        setTabOrder(configList, helpText);
        configList->setFocus();
 
-       toolBar = new QToolBar("Tools", this);
+       QToolBar *toolBar = new QToolBar("Tools", this);
        addToolBar(toolBar);
 
        backAction = new QAction(QPixmap(xpm_back), "Back", this);
index 5eeab4a8bb436f0f7c6392bd8b600e11e8145e46..b806839986352b5cb112ad23d81a5735d9afd25d 100644 (file)
@@ -326,7 +326,6 @@ protected:
        ConfigView *configView;
        ConfigList *configList;
        ConfigInfoView *helpText;
-       QToolBar *toolBar;
        QAction *backAction;
        QAction *singleViewAction;
        QAction *splitViewAction;