Commit 9058d22b authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add Q_UNREACHABLE here

parent b9ef975f
......@@ -49,18 +49,21 @@ void ExportAkregatorJobInterface::start()
Akonadi::Collection::Id ExportAkregatorJobInterface::convertFolderPathToCollectionId(const QString &path)
{
Q_UNREACHABLE();
//Unusued
return -1;
}
QString ExportAkregatorJobInterface::adaptNewResourceUrl(bool overwriteResources, const KSharedConfig::Ptr &resourceConfig, const QString &storePath)
{
Q_UNREACHABLE();
//Unused
return {};
}
QString ExportAkregatorJobInterface::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNREACHABLE();
return {};
}
......
......@@ -50,17 +50,20 @@ void ImportAkregatorJobInterface::start()
Akonadi::Collection::Id ImportAkregatorJobInterface::convertFolderPathToCollectionId(const QString &path)
{
Q_UNREACHABLE();
//Unused here.
return -1;
}
QString ImportAkregatorJobInterface::createResource(const QString &resources, const QString &name, const QMap<QString, QVariant> &settings, bool synchronizeTree)
{
Q_UNREACHABLE();
return {};
}
QString ImportAkregatorJobInterface::adaptNewResourceUrl(bool overwriteResources, const KSharedConfig::Ptr &resourceConfig, const QString &storePath)
{
Q_UNREACHABLE();
//Unused
return {};
}
......
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