[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [akonadi-import-wizard] src/plugins/thunderbird: Minor optimization
From: Montel Laurent <null () kde ! org>
Date: 2017-11-30 21:56:11
Message-ID: E1eKWoV-0004Xs-Am () code ! kde ! org
[Download RAW message or body]
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/76973f6ae2f5e3886870860a7fdd31ed057a3e47
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic