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

Remove unused methods

parent 1fe3a529
...@@ -898,18 +898,6 @@ void AttachmentControllerBase::attachDirectory(const QUrl &url) ...@@ -898,18 +898,6 @@ void AttachmentControllerBase::attachDirectory(const QUrl &url)
} }
} }
void AttachmentControllerBase::attachFiles(const QList<QUrl> &urls, const QString &encoding)
{
const int numberOfFiles(urls.count());
for (int i = 0; i < numberOfFiles; ++i) {
auto url = urls.at(i);
QUrlQuery query(url);
query.addQueryItem(QStringLiteral("charset"), encoding);
url.setQuery(query.toString());
addAttachment(url);
}
}
void AttachmentControllerBase::showAttachVcard() void AttachmentControllerBase::showAttachVcard()
{ {
QPointer<Akonadi::EmailAddressSelectionDialog> dlg = new Akonadi::EmailAddressSelectionDialog(d->wParent); QPointer<Akonadi::EmailAddressSelectionDialog> dlg = new Akonadi::EmailAddressSelectionDialog(d->wParent);
......
...@@ -100,7 +100,6 @@ protected: ...@@ -100,7 +100,6 @@ protected:
void openWith(const KService::Ptr &offer = KService::Ptr()); void openWith(const KService::Ptr &offer = KService::Ptr());
private: private:
void attachFiles(const QList<QUrl> &urls, const QString &encoding);
void attachDirectory(const QUrl &url); void attachDirectory(const QUrl &url);
void slotPutResult(KJob *job); void slotPutResult(KJob *job);
void slotOpenWithDialog(); void slotOpenWithDialog();
......
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