mirror of https://gitee.com/openkylin/linux.git
Port xconfig to Qt5 - Add ConfigItem::nextItem to initializer list.
Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Thiago Macieira <thiago.macieira@intel.com> Signed-off-by: Michal Marek <mmarek@suse.com>
This commit is contained in:
parent
a52cb321de
commit
86c052827b
|
@ -124,17 +124,17 @@ class ConfigItem : public QTreeWidgetItem {
|
||||||
typedef class QTreeWidgetItem Parent;
|
typedef class QTreeWidgetItem Parent;
|
||||||
public:
|
public:
|
||||||
ConfigItem(QTreeWidget *parent, ConfigItem *after, struct menu *m, bool v)
|
ConfigItem(QTreeWidget *parent, ConfigItem *after, struct menu *m, bool v)
|
||||||
: Parent(parent, after), menu(m), visible(v), goParent(false)
|
: Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false)
|
||||||
{
|
{
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v)
|
ConfigItem(ConfigItem *parent, ConfigItem *after, struct menu *m, bool v)
|
||||||
: Parent(parent, after), menu(m), visible(v), goParent(false)
|
: Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false)
|
||||||
{
|
{
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
ConfigItem(QTreeWidget *parent, ConfigItem *after, bool v)
|
ConfigItem(QTreeWidget *parent, ConfigItem *after, bool v)
|
||||||
: Parent(parent, after), menu(0), visible(v), goParent(true)
|
: Parent(parent, after), nextItem(0), menu(0), visible(v), goParent(true)
|
||||||
{
|
{
|
||||||
init();
|
init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue