Skip to content

Commit

Permalink
Port xconfig to Qt5 - Source format.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Boris Barbulovski authored and Michal Marek committed Oct 14, 2015
1 parent f999cc0 commit b3c48f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/kconfig/qconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,10 @@ class ConfigItem : public QTreeWidgetItem {
ConfigItem *_parent = (ConfigItem *)parent();

if(_parent) {
ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1);
ret = (ConfigItem *)_parent->child(_parent->indexOfChild(this)+1);
} else {
QTreeWidget *_treeWidget = treeWidget();
ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1);
QTreeWidget *_treeWidget = treeWidget();
ret = (ConfigItem *)_treeWidget->topLevelItem(_treeWidget->indexOfTopLevelItem(this)+1);
}

return ret;
Expand Down

0 comments on commit b3c48f9

Please sign in to comment.