Commit 45f73cd5 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Add comment

parent b6891f18
......@@ -72,4 +72,5 @@ void ConvertVariablesJobTest::shouldConvertVariables_data()
QTest::newRow("empty") << QString() << QString();
QTest::newRow("novariable") << QStringLiteral("bla bli blo") << QStringLiteral("bla bli blo");
QTest::newRow("subject") << QStringLiteral("bla bli blo %FULLSUBJECT") << QStringLiteral("bla bli blo Subject!!!!");
//TODO add more autotests !
}
......@@ -123,6 +123,7 @@ void ConvertSnippetVariableMenu::initializeMenu()
miscVariable->addAction(i18n("Subject"), this, [this]() {
Q_EMIT insertVariable(MessageComposer::ConvertSnippetVariablesUtil::FullSubject);
});
//Add more variables!
mMenu->addMenu(miscVariable);
}
......
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