OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
740fdef
)
kconfig: qconf: omit parent to QHBoxLayout()
author
Masahiro Yamada
<masahiroy@kernel.org>
Fri, 7 Aug 2020 09:18:58 +0000
(18:18 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Fri, 14 Aug 2020 04:38:56 +0000
(13:38 +0900)
Instead of passing 0 (i.e. nullptr), leave it empty.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
scripts/kconfig/qconf.cc
patch
|
blob
|
history
diff --git
a/scripts/kconfig/qconf.cc
b/scripts/kconfig/qconf.cc
index
7412d5f
..
5ffe066
100644
(file)
--- 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));