diff options
author | Boris Barbulovski <bbarbulovski@gmail.com> | 2015-09-22 11:36:24 -0700 |
---|---|---|
committer | Michal Marek <mmarek@suse.com> | 2015-10-14 14:59:03 +0200 |
commit | a52cb321de597542eeab63e1033156e05d9f075b (patch) | |
tree | 5a29f1a7d144e3a7d188418924921721935447c1 /scripts | |
parent | e484fe3a9be894f97a7f982f606ac318648f8db5 (diff) |
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>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/kconfig/qconf.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc index 8d72e4ae6291..c64b90517bdb 100644 --- a/scripts/kconfig/qconf.cc +++ b/scripts/kconfig/qconf.cc @@ -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))); |