Commit ba25d6d8 authored by Laurent Montel's avatar Laurent Montel 😁

Add support for trojita

parent c7d7bddf
......@@ -3,3 +3,4 @@ org.kde.pim.importwizard.balsaplugin importwizard (balsa plugin)
org.kde.pim.importwizard.evolutionplugin importwizard (evolution v3 plugin)
org.kde.pim.importwizard.gearyplugin importwizard (geary plugin)
org.kde.pim.importwizard.operaplugin importwizard (opera plugin)
org.kde.pim.importwizard.trojitaplugin importwizard (trojita plugin)
......@@ -4,6 +4,7 @@ set(trojitaimporter_SRCS
trojitasettings.cpp
)
ecm_qt_declare_logging_category(trojitaimporter_SRCS HEADER trojitaplugin_debug.h IDENTIFIER TROJITAPLUGIN_LOG CATEGORY_NAME org.kde.pim.importwizard.trojitaplugin)
kcoreaddons_add_plugin(trojitaimporterplugin JSON trojitaimporter.json SOURCES
${trojitaimporter_SRCS} INSTALL_NAMESPACE importwizard)
......
......@@ -25,7 +25,7 @@
#include <KIdentityManagement/kidentitymanagement/identity.h>
#include <KIdentityManagement/kidentitymanagement/signature.h>
//#include "importwizard_debug.h"
#include "trojitaplugin_debug.h"
#include <QSettings>
......@@ -169,7 +169,7 @@ void TrojitaSettings::readIdentity()
signature.setText(signatureStr);
identity->setSignature(signature);
}
//qCDebug(IMPORTWIZARD_LOG) << " realName :" << realName << " address : " << address << " organisation : " << organisation << " signature: " << signatureStr;
qCDebug(TROJITAPLUGIN_LOG) << " realName :" << realName << " address : " << address << " organisation : " << organisation << " signature: " << signatureStr;
storeIdentity(identity);
}
settings->endArray();
......
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