Commit 68090b85 authored by Laurent Montel's avatar Laurent Montel 😁

Rename method

parent 622f4071
......@@ -792,7 +792,7 @@ bool HtmlAnchorHandler::handleClick(const QUrl &url, ViewerPrivate *w) const
return false;
}
w->htmlPart()->scrollToAnchor(url.fragment());
w->mailViewer()->scrollToAnchor(url.fragment());
return true;
}
}
......
......@@ -446,7 +446,7 @@ void ViewerPrivate::editAttachment(KMime::Content *node, bool showWarning)
job->canDeleteJob();
}
MailWebView *ViewerPrivate::htmlPart() const
MailWebView *ViewerPrivate::mailViewer() const
{
return mViewer;
}
......
......@@ -215,7 +215,7 @@ public:
/** Access to the MailWebView used for the viewer. Use with
care! */
MailWebView *htmlPart() const;
MailWebView *mailViewer() const;
void showAttachmentPopup(KMime::Content *node, const QString &name, const QPoint &p);
......
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