Commit 8bcaf365 authored by Erik Duisters's avatar Erik Duisters Committed by Nicolas Fella

Do not assert because it will crash kdeconnect when android sends a duplicate uid

parent c8c82e01
Pipeline #7669 passed with stage
in 8 minutes and 46 seconds
......@@ -114,8 +114,7 @@ bool ContactsPlugin::handleResponseUIDsTimestamps(const NetworkPacket& np)
// Remove this file from the list of known files
QFileInfo fileInfo(vcardFile);
bool success = localVCards.removeOne(fileInfo);
Q_ASSERT(success); // We should have always been able to remove the existing file from our listing
localVCards.removeOne(fileInfo);
// Check if the vcard needs to be updated
if (!vcardFile.open(QIODevice::ReadOnly)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment