Skip to content

Commit

Permalink
Port xconfig to Qt5 - Tree widget set column titles.
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 e484fe3 commit a52cb32
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/kconfig/qconf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -318,6 +318,8 @@ ConfigList::ConfigList(ConfigView* p, const char *name)
setSortingEnabled(-1);
setRootIsDecorated(true);

setHeaderLabels(QStringList() << _("Option") << _("Name") << "N" << "M" << "Y" << _("Value"));

connect(this, SIGNAL(itemSelectionChanged(void)),
SLOT(updateSelection(void)));

Expand Down

0 comments on commit a52cb32

Please sign in to comment.