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:
Boris Barbulovski 2015-09-22 11:36:25 -07:00 committed by Michal Marek
parent a52cb321de
commit 86c052827b
1 changed files with 3 additions and 3 deletions

View File

@ -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();
} }