summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pbap/pbap.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/pbap/pbap.cpp b/pbap/pbap.cpp
index 43db8bd..ad3eec7 100644
--- a/pbap/pbap.cpp
+++ b/pbap/pbap.cpp
@@ -175,6 +175,8 @@ void Pbap::updateCalls(QString vcards)
{
QString name, number, datetime, type;
+ m_calls.clear();
+
QList<vCard> history_vcards = vCard::fromByteArray(vcards.toUtf8());
for (auto vcard : history_vcards) {