diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-07 18:18:58 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2020-08-14 13:38:56 +0900 |
commit | 92641154bf6f138c37bae31cf735359f703749cc (patch) | |
tree | b18bf7b4bddcb43f06adc9318a67b2a64124b178 /scripts/kconfig | |
parent | 740fdef8534f17184f0d57390be83a8a37e897f9 (diff) | |
download | linux-92641154bf6f138c37bae31cf735359f703749cc.tar.gz linux-92641154bf6f138c37bae31cf735359f703749cc.tar.bz2 linux-92641154bf6f138c37bae31cf735359f703749cc.zip |
kconfig: qconf: omit parent to QHBoxLayout()
Instead of passing 0 (i.e. nullptr), leave it empty.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig')
-rw-r--r-- | scripts/kconfig/qconf.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 7412d5f14a4c..5ffe06658c18 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -1297,7 +1297,8 @@ ConfigSearchWindow::ConfigSearchWindow(ConfigMainWindow *parent) QVBoxLayout* layout1 = new QVBoxLayout(this); layout1->setContentsMargins(11, 11, 11, 11); layout1->setSpacing(6); - QHBoxLayout* layout2 = new QHBoxLayout(0); + + QHBoxLayout* layout2 = new QHBoxLayout(); layout2->setContentsMargins(0, 0, 0, 0); layout2->setSpacing(6); layout2->addWidget(new QLabel("Find:", this)); |