Commit 35612b59 authored by Laurent Montel's avatar Laurent Montel 😁

Move porting

parent b243fd0a
......@@ -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)
......@@ -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)
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment