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

const'ify

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