forked from luck/tmp_suning_uos_patched
kconfig: qconf: Fix a few alignment issues
There are a few items with wrong alignments. Solve them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
This commit is contained in:
parent
e1f7769f60
commit
60969f02f0
|
@ -633,7 +633,7 @@ void ConfigList::updateMenuList(ConfigItem *parent, struct menu* menu)
|
||||||
last = item;
|
last = item;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
hide:
|
hide:
|
||||||
if (item && item->menu == child) {
|
if (item && item->menu == child) {
|
||||||
last = parent->firstChild();
|
last = parent->firstChild();
|
||||||
if (last == item)
|
if (last == item)
|
||||||
|
@ -698,7 +698,7 @@ void ConfigList::updateMenuList(ConfigList *parent, struct menu* menu)
|
||||||
last = item;
|
last = item;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
hide:
|
hide:
|
||||||
if (item && item->menu == child) {
|
if (item && item->menu == child) {
|
||||||
last = (ConfigItem*)parent->topLevelItem(0);
|
last = (ConfigItem*)parent->topLevelItem(0);
|
||||||
if (last == item)
|
if (last == item)
|
||||||
|
@ -1237,10 +1237,11 @@ QMenu* ConfigInfoView::createStandardContextMenu(const QPoint & pos)
|
||||||
{
|
{
|
||||||
QMenu* popup = Parent::createStandardContextMenu(pos);
|
QMenu* popup = Parent::createStandardContextMenu(pos);
|
||||||
QAction* action = new QAction("Show Debug Info", popup);
|
QAction* action = new QAction("Show Debug Info", popup);
|
||||||
action->setCheckable(true);
|
|
||||||
connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool)));
|
action->setCheckable(true);
|
||||||
connect(this, SIGNAL(showDebugChanged(bool)), action, SLOT(setOn(bool)));
|
connect(action, SIGNAL(toggled(bool)), SLOT(setShowDebug(bool)));
|
||||||
action->setChecked(showDebug());
|
connect(this, SIGNAL(showDebugChanged(bool)), action, SLOT(setOn(bool)));
|
||||||
|
action->setChecked(showDebug());
|
||||||
popup->addSeparator();
|
popup->addSeparator();
|
||||||
popup->addAction(action);
|
popup->addAction(action);
|
||||||
return popup;
|
return popup;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user