Port xconfig to Qt5 - Change ConfigItem constructor parent type.
authorBoris Barbulovski <bbarbulovski@gmail.com>
Tue, 22 Sep 2015 18:36:30 +0000 (11:36 -0700)
committerMichal Marek <mmarek@suse.com>
Wed, 14 Oct 2015 12:59:03 +0000 (14:59 +0200)
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>
scripts/kconfig/qconf.h

index d86ae3c..000403d 100644 (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();