Commit d960b988 authored by Boris Barbulovski's avatar Boris Barbulovski Committed by Michal Marek

Port xconfig to Qt5 - Change ConfigItem constructor parent type.

Signed-off-by: default avatarBoris Barbulovski <bbarbulovski@gmail.com>
Signed-off-by: default avatarThiago Macieira <thiago.macieira@intel.com>
Signed-off-by: default avatarMichal Marek <mmarek@suse.com>
parent a5225e9b
...@@ -123,7 +123,7 @@ public slots: ...@@ -123,7 +123,7 @@ public slots:
class ConfigItem : public QTreeWidgetItem { 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(ConfigList *parent, ConfigItem *after, struct menu *m, bool v)
: Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false) : Parent(parent, after), nextItem(0), menu(m), visible(v), goParent(false)
{ {
init(); init();
...@@ -133,7 +133,7 @@ class ConfigItem : public QTreeWidgetItem { ...@@ -133,7 +133,7 @@ class ConfigItem : public QTreeWidgetItem {
{ {
init(); 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) : Parent(parent, after), nextItem(0), menu(0), visible(v), goParent(true)
{ {
init(); init();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment