From b7406e0f6f439370a3eb6457dd33a78eb85057db Mon Sep 17 00:00:00 2001 From: xiaoyifang <105986+xiaoyifang@users.noreply.github.com> Date: Sat, 2 Nov 2024 20:14:08 +0800 Subject: [PATCH] opt: hide website [as link] column (#1893) * opt: hide the [As link] column --- src/dict/sources.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dict/sources.cc b/src/dict/sources.cc index acec1754..223f9e05 100644 --- a/src/dict/sources.cc +++ b/src/dict/sources.cc @@ -55,6 +55,8 @@ Sources::Sources( QWidget * parent, Config::Class const & cfg ): ui.webSites->setTabKeyNavigation( true ); ui.webSites->setModel( &webSitesModel ); + //[As link] column. + ui.webSites->setColumnHidden( 1, true ); ui.webSites->resizeColumnToContents( 0 ); ui.webSites->resizeColumnToContents( 1 ); ui.webSites->resizeColumnToContents( 2 );