Commit e3dd0446 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove unused method

parent e33bdef9
......@@ -48,7 +48,6 @@ public:
}
GrantleeTheme::Theme mTheme;
QString mMessagePath;
const HeaderStrategy *mStrategy = nullptr;
QString mVCardName;
QString mCollectionName;
......@@ -83,16 +82,6 @@ QString HeaderStyle::attachmentHtml() const
return d->mAttachmentHtml;
}
void HeaderStyle::setMessagePath(const QString &path)
{
d->mMessagePath = path;
}
QString HeaderStyle::messagePath() const
{
return d->mMessagePath;
}
void HeaderStyle::setHeaderStrategy(const HeaderStrategy *strategy)
{
d->mStrategy = strategy;
......
......@@ -82,9 +82,6 @@ public:
//
virtual QString format(KMime::Message *message) const = 0;
void setMessagePath(const QString &path);
Q_REQUIRED_RESULT QString messagePath() const;
void setHeaderStrategy(const HeaderStrategy *strategy);
Q_REQUIRED_RESULT const HeaderStrategy *headerStrategy() const;
......
......@@ -946,7 +946,6 @@ QString ViewerPrivate::writeMessageHeader(KMime::Message *aMsg, KMime::Content *
headerStylePlugin()->headerStyle()->setAllowAsync(true);
headerStylePlugin()->headerStyle()->setSourceObject(this);
headerStylePlugin()->headerStyle()->setNodeHelper(mNodeHelper);
headerStylePlugin()->headerStyle()->setMessagePath(mMessagePath);
headerStylePlugin()->headerStyle()->setAttachmentHtml(attachmentHtml());
if (mMessageItem.isValid()) {
Akonadi::MessageStatus status;
......
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