Port xconfig to Qt5 - Tree widget set column titles.

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>
This commit is contained in:
Boris Barbulovski 2015-09-22 11:36:24 -07:00 committed by Michal Marek
parent e484fe3a9b
commit a52cb321de
1 changed files with 2 additions and 0 deletions

View File

@ -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)));