summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);