summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <[email protected]>2017-07-04 15:37:15 +0200
committerJustus Winter <[email protected]>2017-07-11 11:52:20 +0200
commit0238aab1231db56732c8d55abd27c8ee8f3a9ac7 (patch)
tree3ffd7b74cfabc390d7af8a866da626269673f5eb
parent0d4b54fc4badb6decb0e00ed7e839032ae9203f3 (diff)
Display the new field 'Validity'
The key model recently gained a new field. Display this. Signed-off-by: Justus Winter <[email protected]>
-rw-r--r--CMakeLists.txt2
-rw-r--r--src/view/keytreeview.cpp2
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2def156..14c7186 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,7 +8,7 @@ option(DISABLE_KWATCHGNUPG "Don't build the kwatchgnupg tool [default=OFF]" OFF)
# Standalone build. Find / include everything neccessary.
set(KF5_VERSION "5.35.0")
set(KMIME_VERSION "5.5.80")
-set(LIBKLEO_VERSION "5.5.80")
+set(LIBKLEO_VERSION "5.5.81")
set(QT_REQUIRED_VERSION "5.7.0")
set(GPGME_REQUIRED_VERSION "1.8.0")
diff --git a/src/view/keytreeview.cpp b/src/view/keytreeview.cpp
index 247906d..a5aaf43 100644
--- a/src/view/keytreeview.cpp
+++ b/src/view/keytreeview.cpp
@@ -207,6 +207,7 @@ void KeyTreeView::init()
/* TODO: Make this configurable by the user. E.g. kdepim/src/todo/todoview.cpp */
rearangingModel->setSourceColumns(QVector<int>() << KeyListModelInterface::PrettyName
<< KeyListModelInterface::PrettyEMail
+ << KeyListModelInterface::Validity
<< KeyListModelInterface::ValidFrom
<< KeyListModelInterface::ValidUntil
<< KeyListModelInterface::TechnicalDetails
@@ -216,6 +217,7 @@ void KeyTreeView::init()
std::vector<int> defaultSizes;
defaultSizes.push_back(280);
defaultSizes.push_back(280);
+ defaultSizes.push_back(120);
defaultSizes.push_back(100);
defaultSizes.push_back(100);
defaultSizes.push_back(80);