From kde-commits Thu Nov 30 21:56:11 2017 From: Montel Laurent Date: Thu, 30 Nov 2017 21:56:11 +0000 To: kde-commits Subject: [akonadi-import-wizard] src/plugins/thunderbird: Minor optimization Message-Id: X-MARC-Message: https://marc.info/?l=kde-commits&m=151207900014692 Git commit 76973f6ae2f5e3886870860a7fdd31ed057a3e47 by Montel Laurent. Committed on 30/11/2017 at 21:56. Pushed by mlaurent into branch 'master'. Minor optimization M +2 -7 src/plugins/thunderbird/thunderbirdsettings.cpp https://commits.kde.org/akonadi-import-wizard/76973f6ae2f5e3886870860a7fdd3= 1ed057a3e47 diff --git a/src/plugins/thunderbird/thunderbirdsettings.cpp b/src/plugins/= thunderbird/thunderbirdsettings.cpp index 892272e..1f3615e 100644 --- a/src/plugins/thunderbird/thunderbirdsettings.cpp +++ b/src/plugins/thunderbird/thunderbirdsettings.cpp @@ -762,13 +762,8 @@ void ThunderbirdSettings::readAccount() } else if (type =3D=3D QLatin1String("none")) { //FIXME look at if we can implement it qCDebug(THUNDERBIRDPLUGIN_LOG) << " account type none!"; - } else if (type =3D=3D QLatin1String("movemail")) { - qCDebug(THUNDERBIRDPLUGIN_LOG) << " movemail accound found and= not implemented in importthunderbird"; - } else if (type =3D=3D QLatin1String("rss")) { - qCDebug(THUNDERBIRDPLUGIN_LOG) << " rss resource needs to be i= mplemented"; - continue; - } else if (type =3D=3D QLatin1String("nntp")) { - qCDebug(THUNDERBIRDPLUGIN_LOG) << " nntp resource need to be i= mplemented"; + } else if (type =3D=3D QLatin1String("rss") || type =3D=3D QLatin1= String("nntp") || type =3D=3D QLatin1String("movemail")) { + qCDebug(THUNDERBIRDPLUGIN_LOG) << QStringLiteral("%1 rss resou= rce needs to be implemented").arg(type); continue; } else { qCDebug(THUNDERBIRDPLUGIN_LOG) << " type unknown : " << type;