Port xconfig to Qt5 - Change ConfigItem constructor parent type.

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:30 -07:00 committed by Michal Marek
parent a5225e9bc9
commit d960b98899
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public:
class ConfigItem : public QTreeWidgetItem {
typedef class QTreeWidgetItem Parent;
public:
ConfigItem(QTreeWidget *parent, ConfigItem *after, struct menu *m, bool v)
ConfigItem(ConfigList *parent, ConfigItem *after, struct menu *m, bool v)
: Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false)
{
init();
@ -133,7 +133,7 @@ public:
{
init();
}
ConfigItem(QTreeWidget *parent, ConfigItem *after, bool v)
ConfigItem(ConfigList *parent, ConfigItem *after, bool v)
: Parent(parent, after), nextItem(0), menu(0), visible(v), goParent(true)
{
init();