Commit 93e03ba3 authored by Laurent Montel's avatar Laurent Montel 😁

Const'ify variable

parent f5247bf7
Pipeline #37608 passed with stage
in 32 minutes and 46 seconds
......@@ -201,8 +201,7 @@ int MDNAdviceHelper::requestAdviceOnMDN(const char *what)
for (int i = 0; i < numMdnMessageBoxes; ++i) {
if (!qstrcmp(what, mdnMessageBoxes[i].dontAskAgainID)) {
KCursorSaver saver(Qt::ArrowCursor);
MessageComposer::MDNAdvice answer;
answer = questionIgnoreSend(i18n(mdnMessageBoxes[i].text),
const MessageComposer::MDNAdvice answer = questionIgnoreSend(i18n(mdnMessageBoxes[i].text),
mdnMessageBoxes[i].canDeny);
switch (answer) {
case MessageComposer::MDNSend:
......
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