diff --git a/plugins/sms/smsplugin.cpp b/plugins/sms/smsplugin.cpp index 4ef1401db..079fa6367 100644 --- a/plugins/sms/smsplugin.cpp +++ b/plugins/sms/smsplugin.cpp @@ -59,26 +59,15 @@ bool SmsPlugin::receivePacket(const NetworkPacket& np) void SmsPlugin::sendSms(const QDBusVariant& addresses, const QString& messageBody, const qint64 subID) { - QList addressList = ConversationAddress::listfromDBus(addresses); + Q_UNUSED(subID) + const QList addressList = ConversationAddress::listfromDBus(addresses); - QVariantList addressMapList; - for (const ConversationAddress address : addressList) { - QVariantMap addressMap({{QStringLiteral("address"), address.address()}}); - addressMapList.append(addressMap); - qDebug() <