Commit 1035519a authored by Laurent Montel's avatar Laurent Montel 😁

const'ify

parent b3357ee6
......@@ -46,8 +46,7 @@ SieveDebugDialog::SieveDebugDialog(SieveImapPasswordProvider *passwordProvider,
mEdit = new KPIMTextEdit::PlainTextEditorWidget(this);
mEdit->setReadOnly(true);
KSyntaxHighlighting::Definition def;
def = mRepo.definitionForName(QStringLiteral("Sieve"));
const KSyntaxHighlighting::Definition def = mRepo.definitionForName(QStringLiteral("Sieve"));
if (!def.isValid()) {
qCWarning(LIBKSIEVE_LOG) << "Invalid definition name";
}
......
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