Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Kleopatra
Commits
40013fb8
Commit
40013fb8
authored
May 12, 2021
by
Ingo Klöcker
Browse files
Hide Tags column if tag support is not enabled
GnuPG-bug-id: 5245
parent
4cdcf5de
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
40013fb8
...
...
@@ -15,7 +15,7 @@ option(DISABLE_KWATCHGNUPG "Don't build the kwatchgnupg tool [default=OFF]" OFF)
# Standalone build. Find / include everything necessary.
set
(
KF5_MIN_VERSION
"5.82.0"
)
set
(
KMIME_VERSION
"5.17.40"
)
set
(
LIBKLEO_VERSION
"5.17.4
3
"
)
set
(
LIBKLEO_VERSION
"5.17.4
5
"
)
set
(
QT_REQUIRED_VERSION
"5.15.0"
)
set
(
GPGME_REQUIRED_VERSION
"1.13.1"
)
set
(
BOOST_REQUIRED_VERSION
"1.58"
)
...
...
src/dialogs/weboftrustwidget.cpp
View file @
40013fb8
...
...
@@ -55,6 +55,9 @@ public:
certificationsTV
->
setModel
(
&
certificationsModel
);
certificationsTV
->
setAllColumnsShowFocus
(
true
);
certificationsTV
->
setSelectionMode
(
QAbstractItemView
::
ExtendedSelection
);
if
(
!
Tags
::
tagsEnabled
())
{
certificationsTV
->
hideColumn
(
static_cast
<
int
>
(
UserIDListModel
::
Column
::
Tags
));
}
auto
vLay
=
new
QVBoxLayout
(
q
);
vLay
->
setContentsMargins
(
0
,
0
,
0
,
0
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment