Commit 00acc2d6 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: coding style

parent a1127af1
......@@ -89,7 +89,6 @@ QString ExportAlarmJobInterfaceImpl::createResource(const QString &resources, co
return {};
}
void ExportAlarmJobInterfaceImpl::convertCollectionIdsToRealPath(KConfigGroup &selectFolderNoteGroup, const QString &selectFolderNoteGroupStr)
{
ResourceConverterImpl converter;
......
......@@ -137,4 +137,3 @@ void ExportAlarmJobInterfaceTest::exportAlarm()
file->start();
delete exportNote;
}
......@@ -28,9 +28,9 @@ void CompareFileHelper::compareFile(const QString &referenceFile, const QString
//qDebug() << "referenceFile " << referenceFile << " archiveFile " << archiveFile;
#ifdef _WIN32
QStringList args = QStringList()
<< QStringLiteral("Compare-Object")
<< QString(QStringLiteral("(Get-Content %1)")).arg(referenceFile)
<< QString(QStringLiteral("(Get-Content %1)")).arg(archiveFile);
<< QStringLiteral("Compare-Object")
<< QString(QStringLiteral("(Get-Content %1)")).arg(referenceFile)
<< QString(QStringLiteral("(Get-Content %1)")).arg(archiveFile);
proc.start(QStringLiteral("powershell"), args);
QVERIFY(proc.waitForFinished());
......@@ -45,14 +45,13 @@ void CompareFileHelper::compareFile(const QString &referenceFile, const QString
#else
// compare to reference file
QStringList args = QStringList()
<< QStringLiteral("-u")
<< referenceFile
<< archiveFile;
<< QStringLiteral("-u")
<< referenceFile
<< archiveFile;
proc.setProcessChannelMode(QProcess::ForwardedChannels);
proc.start(QStringLiteral("diff"), args);
QVERIFY(proc.waitForFinished());
QCOMPARE(proc.exitCode(), 0);
#endif
}
......@@ -183,5 +183,3 @@ void ExportMailJobInterfaceTest::exportMail()
file->start();
delete exportNote;
}
......@@ -83,7 +83,6 @@ void ImportMailJobInterfaceTestImpl::addNewIdentity(const QString &name, KConfig
qDebug() << " void ImportMailJobInterfaceTestImpl::addNewIdentity(const QString &name, KConfigGroup &group, int defaultIdentities, int oldUid) not implemented yet";
}
void ImportMailJobInterfaceTestImpl::importCustomMailTransport(const QString &identifierValue, const KConfigGroup &group, int defaultTransport, int transportId)
{
qDebug() << "importCustomMailTransport(const QString &identifierValue, const KConfigGroup &group, int defaultTransport, int transportId) not implemented yet";
......@@ -133,4 +132,3 @@ void ImportMailJobInterfaceTest::importMail()
delete impl;
delete file;
}
......@@ -159,4 +159,3 @@ void ExportMailJobInterfaceImpl::exportFilters()
}
}
}
......@@ -65,7 +65,6 @@ protected:
QHash<int, uint> mHashIdentity;
private:
void restoreTransports();
void restoreConfig();
......
......@@ -111,7 +111,6 @@ QString ImportMailJobInterfaceImpl::uniqueIdentityName(const QString &name)
return newName;
}
void ImportMailJobInterfaceImpl::importCustomMailTransport(const QString &identifierValue, const KConfigGroup &group, int defaultTransport, int transportId)
{
if (!identifierValue.isEmpty()) {
......@@ -134,7 +133,6 @@ void ImportMailJobInterfaceImpl::importCustomMailTransport(const QString &identi
void ImportMailJobInterfaceImpl::importSmtpMailTransport(const KConfigGroup &group, int defaultTransport, int transportId)
{
MailTransport::Transport *mt = MailTransport::TransportManager::self()->createTransport();
mt->setName(group.readEntry(QStringLiteral("name")));
const QString hostStr(QStringLiteral("host"));
......
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