summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-12-02 15:23:41 +0900
committerMichele Calgaro <[email protected]>2018-12-02 15:23:41 +0900
commit2b99f0691a313a469878830e8e70c8dd01416445 (patch)
tree4d71ab2d91d222ab135185bb7bb5399761fcf0fd
parent449aa8797de31c20be17d94a901203d580dfabe2 (diff)
downloadbasket-2b99f0691a313a469878830e8e70c8dd01416445.tar.gz
basket-2b99f0691a313a469878830e8e70c8dd01416445.zip
Fix FTBFS caused by commit 698716c1d.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--src/kgpgme.cpp2
1 files changed, 1 insertions, 1 deletions
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);