summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-10-29 08:54:02 +0100
committerMontel Laurent <[email protected]>2017-10-29 08:54:02 +0100
commitbba516242fea3eb53a04c7338c21337c953ab21e (patch)
treeb944adf2ce091347309c3dea66670780bff50a0b
parentaff4fd2b3cea838651cb8479830cc31b6a69c05c (diff)
USe isEmpty
-rw-r--r--kaddressbook/importexportplugins/gmx/gmximportexportplugininterface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kaddressbook/importexportplugins/gmx/gmximportexportplugininterface.cpp b/kaddressbook/importexportplugins/gmx/gmximportexportplugininterface.cpp
index c6610f0..ab4dec3 100644
--- a/kaddressbook/importexportplugins/gmx/gmximportexportplugininterface.cpp
+++ b/kaddressbook/importexportplugins/gmx/gmximportexportplugininterface.cpp
@@ -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;