Commit 86fb4af3 authored by Laurent Montel's avatar Laurent Montel 😁

Don't duplicate code

parent a059fbd4
......@@ -26,7 +26,7 @@ set(MESSAGELIB_LIB_VERSION "5.5.40")
set(QT_REQUIRED_VERSION "5.7.0")
set(KMIME_LIB_VERSION "5.5.40")
set(KMAILTRANSPORT_LIB_VERSION "5.5.40")
set(MAILIMPORTER_LIB_VERSION "5.5.40")
set(MAILIMPORTER_LIB_VERSION "5.5.41")
set(LIBKDEPIM_LIB_VERSION "5.5.40")
set(PIMCOMMON_LIB_VERSION "5.5.40")
......
......@@ -17,6 +17,9 @@
#include "filterimporterthunderbird.h"
#include "filter/mailfilter.h"
#include <MailImporter/FilterSeaMonkey>
#include <MailImporter/FilterIcedove>
#include <MailImporter/FilterThunderbird>
#include "mailcommon_debug.h"
#include <QUrl>
......@@ -57,17 +60,17 @@ void FilterImporterThunderbird::readStream(QTextStream &stream)
QString FilterImporterThunderbird::defaultSeaMonkeyFiltersSettingsPath()
{
return QStringLiteral("%1/.mozilla/seamonkey").arg(QDir::homePath());
return MailImporter::FilterSeaMonkey::defaultSettingsPath();
}
QString FilterImporterThunderbird::defaultIcedoveFiltersSettingsPath()
{
return QStringLiteral("%1/.icedove/").arg(QDir::homePath());
return MailImporter::FilterIcedove::defaultSettingsPath();
}
QString FilterImporterThunderbird::defaultThunderbirdFiltersSettingsPath()
{
return QStringLiteral("%1/.thunderbird/").arg(QDir::homePath());
return MailImporter::FilterThunderbird::defaultSettingsPath();
}
MailCommon::MailFilter *FilterImporterThunderbird::parseLine(QTextStream &stream,
......
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