Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit bba51624 authored by Laurent Montel's avatar Laurent Montel 😁

USe isEmpty

parent aff4fd2b
......@@ -295,7 +295,7 @@ void GMXImportExportPluginInterface::doExport(QFile *fp, const KContacts::Addres
case typeHome:
address = addressee->address(KContacts::Address::Home);
phone = addressee->phoneNumber(KContacts::PhoneNumber::Home);
if (cellPhones.count() > 0) {
if (!cellPhones.isEmpty()) {
cell = cellPhones.at(0);
if (!cell.isEmpty()) {
prefFlag |= 4;
......
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