Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: qconf: set QSplitter orientation in the constructor

The orientation of the QSplitter can be specified directly in its
constructor.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

+3 -6
+3 -6
scripts/kconfig/qconf.cc
··· 1240 1240 layout2->addWidget(searchButton); 1241 1241 layout1->addLayout(layout2); 1242 1242 1243 - split = new QSplitter(this); 1244 - split->setOrientation(Qt::Vertical); 1243 + split = new QSplitter(Qt::Vertical, this); 1245 1244 list = new ConfigList(split, "search"); 1246 1245 list->mode = listMode; 1247 1246 info = new ConfigInfoView(split, "search"); ··· 1343 1344 QVBoxLayout *layout = new QVBoxLayout(widget); 1344 1345 setCentralWidget(widget); 1345 1346 1346 - split1 = new QSplitter(widget); 1347 - split1->setOrientation(Qt::Horizontal); 1347 + split1 = new QSplitter(Qt::Horizontal, widget); 1348 1348 split1->setChildrenCollapsible(false); 1349 1349 1350 1350 menuList = new ConfigList(widget, "menu"); 1351 1351 1352 - split2 = new QSplitter(widget); 1352 + split2 = new QSplitter(Qt::Vertical, widget); 1353 1353 split2->setChildrenCollapsible(false); 1354 - split2->setOrientation(Qt::Vertical); 1355 1354 1356 1355 // create config tree 1357 1356 configList = new ConfigList(widget, "config");