summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-11-30 22:56:02 +0100
committerMontel Laurent <[email protected]>2017-11-30 22:56:02 +0100
commit76973f6ae2f5e3886870860a7fdd31ed057a3e47 (patch)
treee541bb4c467449afa9a8eba9bf363547353c8197
parent93bf25208d1a30afd7d06778fa04e969cdfb6c66 (diff)
Minor optimization
-rw-r--r--src/plugins/thunderbird/thunderbirdsettings.cpp9
1 files changed, 2 insertions, 7 deletions
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 == QLatin1String("none")) {
//FIXME look at if we can implement it
qCDebug(THUNDERBIRDPLUGIN_LOG) << " account type none!";
- } else if (type == QLatin1String("movemail")) {
- qCDebug(THUNDERBIRDPLUGIN_LOG) << " movemail accound found and not implemented in importthunderbird";
- } else if (type == QLatin1String("rss")) {
- qCDebug(THUNDERBIRDPLUGIN_LOG) << " rss resource needs to be implemented";
- continue;
- } else if (type == QLatin1String("nntp")) {
- qCDebug(THUNDERBIRDPLUGIN_LOG) << " nntp resource need to be implemented";
+ } else if (type == QLatin1String("rss") || type == QLatin1String("nntp") || type == QLatin1String("movemail")) {
+ qCDebug(THUNDERBIRDPLUGIN_LOG) << QStringLiteral("%1 rss resource needs to be implemented").arg(type);
continue;
} else {
qCDebug(THUNDERBIRDPLUGIN_LOG) << " type unknown : " << type;