Commit 892e721f authored by Laurent Montel's avatar Laurent Montel 😁

Remove some yellow style

parent 9ba0e026
......@@ -2957,7 +2957,10 @@ void ViewerPrivate::scrollToAttachment(KMime::Content *node)
const KMime::Content *root = node->topLevel();
const int totalChildCount = Util::allContents(root).size();
for (int i = 0; i < totalChildCount + 1; ++i) {
//Not optimal I need to optimize it. But for the moment it removes yellow mark
mViewer->removeAttachmentMarking(QStringLiteral("attachmentDiv%1").arg(i + 1));
mViewer->removeAttachmentMarking(QStringLiteral("attachmentDiv1.%1").arg(i + 1));
mViewer->removeAttachmentMarking(QStringLiteral("attachmentDiv2.%1").arg(i + 1));
}
// Don't mark hidden nodes, that would just produce a strange yellow line
......
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