Skip to content

Commit 2afb3e2

Browse files
committed
kconfig: qconf: remove toolBar from ConfigMainWindow members
This pointer is only used in the ConfigMainWindow constructor. Drop it from the private members. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
1 parent 93ebaac commit 2afb3e2

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎scripts/kconfig/qconf.cc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ ConfigMainWindow::ConfigMainWindow(void)
14321432
setTabOrder(configList, helpText);
14331433
configList->setFocus();
14341434

1435-
toolBar = new QToolBar("Tools", this);
1435+
QToolBar *toolBar = new QToolBar("Tools", this);
14361436
addToolBar(toolBar);
14371437

14381438
backAction = new QAction(QPixmap(xpm_back), "Back", this);

‎scripts/kconfig/qconf.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,6 @@ public slots:
326326
ConfigView *configView;
327327
ConfigList *configList;
328328
ConfigInfoView *helpText;
329-
QToolBar *toolBar;
330329
QAction *backAction;
331330
QAction *singleViewAction;
332331
QAction *splitViewAction;

0 commit comments

Comments
 (0)