Commit 4281d604 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix typo vaccum ->vacuum

parent 5f855d05
Pipeline #200888 passed with stage
in 10 minutes and 43 seconds
......@@ -40,7 +40,7 @@ void AkonadiDatabaseToolsJob::start()
case AkonadiDatabaseToolsUtils::Unknown:
qCWarning(AKONADIDATABASETOOLS_LOG) << "mTool is unknown it's a bug! ";
break;
case AkonadiDatabaseToolsUtils::Vaccum: {
case AkonadiDatabaseToolsUtils::Vacuum: {
QProcess::execute(QStandardPaths::findExecutable(QStringLiteral("akonadictl")), QStringList({QStringLiteral("vacuum")}));
break;
}
......
......@@ -21,10 +21,10 @@ AkonadiDatabaseToolsPluginInterface::~AkonadiDatabaseToolsPluginInterface() = de
void AkonadiDatabaseToolsPluginInterface::createAction(KActionCollection *ac)
{
{
auto action = new QAction(i18n("&Akonadi Vaccum..."), this);
ac->addAction(QStringLiteral("akonadivaccum"), action);
auto action = new QAction(i18n("&Akonadi Vacuum..."), this);
ac->addAction(QStringLiteral("akonadivacuum"), action);
connect(action, &QAction::triggered, this, [this]() {
mTool = AkonadiDatabaseToolsUtils::AkonadiDatabaseTool::Vaccum;
mTool = AkonadiDatabaseToolsUtils::AkonadiDatabaseTool::Vacuum;
slotActivated();
});
......
......@@ -10,7 +10,7 @@ namespace AkonadiDatabaseToolsUtils
{
enum AkonadiDatabaseTool {
Unknown = 0,
Vaccum = 1,
Vacuum = 1,
Fsck = 2,
};
}
Supports Markdown
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