summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-18 07:26:22 +0200
committerMontel Laurent <[email protected]>2017-04-18 07:26:22 +0200
commit35612b59e25c3d796a24401081cda935794588f5 (patch)
tree563df13b5772095131845d5c2dbd320aa46849b8
parentb243fd0a1f7a46e1bfb405ed02b3700861cba32d (diff)
Move porting
-rw-r--r--importwizard.categories1
-rw-r--r--src/plugins/claws-mail/CMakeLists.txt1
-rw-r--r--src/plugins/claws-mail/clawsmailsettings.cpp4
3 files changed, 4 insertions, 2 deletions
diff --git a/importwizard.categories b/importwizard.categories
index 1f1c761..9d22ea1 100644
--- a/importwizard.categories
+++ b/importwizard.categories
@@ -6,4 +6,5 @@ org.kde.pim.importwizard.operaplugin importwizard (opera plugin)
org.kde.pim.importwizard.trojitaplugin importwizard (trojita plugin)
org.kde.pim.importwizard.thunderbirdplugin importwizard (thunderbird plugin)
org.kde.pim.importwizard.sylpheedplugin importwizard (sylpheed plugin)
+org.kde.pim.importwizard.clawsmailplugin importwizard (claws-mail plugin)
diff --git a/src/plugins/claws-mail/CMakeLists.txt b/src/plugins/claws-mail/CMakeLists.txt
index 9898b96..ae1d102 100644
--- a/src/plugins/claws-mail/CMakeLists.txt
+++ b/src/plugins/claws-mail/CMakeLists.txt
@@ -9,6 +9,7 @@ set(clawsmailimporter_SRCS
)
ecm_qt_declare_logging_category(clawsmailimporter_SRCS HEADER sylpheedplugin_debug.h IDENTIFIER SYLPHEEDPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.sylpheedplugin)
+ecm_qt_declare_logging_category(clawsmailimporter_SRCS HEADER clawsmailplugin_debug.h IDENTIFIER CLAWSMAILPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.clawsmailplugin)
kcoreaddons_add_plugin(clawsmailimporterplugin JSON clawsmailimporter.json SOURCES
${clawsmailimporter_SRCS} INSTALL_NAMESPACE importwizard)
diff --git a/src/plugins/claws-mail/clawsmailsettings.cpp b/src/plugins/claws-mail/clawsmailsettings.cpp
index ab713d1..4b7137c 100644
--- a/src/plugins/claws-mail/clawsmailsettings.cpp
+++ b/src/plugins/claws-mail/clawsmailsettings.cpp
@@ -26,7 +26,7 @@
#include <KIdentityManagement/kidentitymanagement/identity.h>
#include <KIdentityManagement/kidentitymanagement/signature.h>
-//#include "importwizard_debug.h"
+#include "clawsmailplugin_debug.h"
#include <KConfig>
#include <KConfigGroup>
#include <QFileInfo>
@@ -71,7 +71,7 @@ void ClawsMailSettings::importSettings(const QString &filename, const QString &p
QFile customHeaderFile(customheaderrc);
if (customHeaderFile.exists()) {
if (!customHeaderFile.open(QIODevice::ReadOnly)) {
- //FIXME qCDebug(IMPORTWIZARD_LOG) << " We can't open file" << customheaderrc;
+ qCDebug(CLAWSMAILPLUGIN_LOG) << " We can't open file" << customheaderrc;
} else {
readCustomHeader(&customHeaderFile);
}