Commit 40013fb8 authored by Ingo Klöcker's avatar Ingo Klöcker
Browse files

Hide Tags column if tag support is not enabled

GnuPG-bug-id: 5245
parent 4cdcf5de
......@@ -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.43")
set(LIBKLEO_VERSION "5.17.45")
set(QT_REQUIRED_VERSION "5.15.0")
set(GPGME_REQUIRED_VERSION "1.13.1")
set(BOOST_REQUIRED_VERSION "1.58")
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment