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

Port xconfig to Qt5 - Source format.

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 f999cc06
...@@ -157,10 +157,10 @@ class ConfigItem : public QTreeWidgetItem { ...@@ -157,10 +157,10 @@ class ConfigItem : public QTreeWidgetItem {
ConfigItem *_parent = (ConfigItem *)parent(); ConfigItem *_parent = (ConfigItem *)parent();
if(_parent) { if(_parent) {
ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1); ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1);
} else { } else {
QTreeWidget *_treeWidget = treeWidget(); QTreeWidget *_treeWidget = treeWidget();
ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1); ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1);
} }
return ret; return ret;
......
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