From 2b99f0691a313a469878830e8e70c8dd01416445 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 2 Dec 2018 15:23:41 +0900 Subject: Fix FTBFS caused by commit 698716c1d. Signed-off-by: Michele Calgaro --- src/kgpgme.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kgpgme.cpp b/src/kgpgme.cpp index 026d2d3..2e19c7c 100644 --- a/src/kgpgme.cpp +++ b/src/kgpgme.cpp @@ -120,7 +120,7 @@ KGpgMe::~KGpgMe() void KGpgMe::clearCache() { - if(m_cache.size() > 0) + if(m_cache.length() > 0) { m_cache.fill('\0'); m_cache.truncate(0); -- cgit v1.2.1