summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBoris Barbulovski <bbarbulovski@gmail.com>2015-09-22 11:36:24 -0700
committerMichal Marek <mmarek@suse.com>2015-10-14 14:59:03 +0200
commita52cb321de597542eeab63e1033156e05d9f075b (patch)
tree5a29f1a7d144e3a7d188418924921721935447c1 /scripts
parente484fe3a9be894f97a7f982f606ac318648f8db5 (diff)
downloadlinux-a52cb321de597542eeab63e1033156e05d9f075b.tar.gz
linux-a52cb321de597542eeab63e1033156e05d9f075b.tar.bz2
linux-a52cb321de597542eeab63e1033156e05d9f075b.zip
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.cc2
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)));