summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-13 11:05:39 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-13 11:05:39 (GMT)
commitb441cce2837a8aa0c4c0862641cb88386cbb0941 (patch)
treeb15cf2f2ec9fbb20ef2b9df612ff5ac4c6b2e99c
parentf63069dfcd2f15b8e1a4f52b0e243abfed4ddafb (diff)
Remove not necessary methods
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp10
-rw-r--r--messageviewer/src/viewer/viewer_p.h3
2 files changed, 0 insertions, 13 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index 9aab3a1..6df836e 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -2761,11 +2761,6 @@ void ViewerPrivate::setShowSignatureDetails(bool showDetails)
mShowSignatureDetails = showDetails;
}
-bool ViewerPrivate::showAttachmentQuicklist() const
-{
- return mShowAttachmentQuicklist;
-}
-
void ViewerPrivate::setFullToAddressList(bool showFullTo)
{
mViewer->executeHideShowToAddressScripts(showFullTo);
@@ -2829,11 +2824,6 @@ QString ViewerPrivate::recipientsQuickListLinkHtml(const QString &field)
const QString imgSrcHide = QStringLiteral("quicklistClosed.png");
const QString visibility = QStringLiteral("style=\"display:none;\"");
- //FIXME altText in french it breaks code
-#if 0
- const QString altTextShow = i18n("Hide full address list");
- const QString altTextHide = i18n("Show full address list");
-#endif
return QStringLiteral("<span style=\"text-align: right;\">") +
QStringLiteral("<a id=\"kmail%2show\" href=\"%1\">").arg(urlHandleShow).arg(field) +
QStringLiteral("<img src=\"%1\" alt=\"%2\" />").arg(QUrl::fromLocalFile(imgpath + imgSrcShow).url(), /*altTextShow*/QString()) +
diff --git a/messageviewer/src/viewer/viewer_p.h b/messageviewer/src/viewer/viewer_p.h
index 55e0328..2201da9 100644
--- a/messageviewer/src/viewer/viewer_p.h
+++ b/messageviewer/src/viewer/viewer_p.h
@@ -396,9 +396,6 @@ public:
void setShowSignatureDetails(bool showDetails = true);
/* show or hide the list that points to the attachments */
- bool showAttachmentQuicklist() const;
-
- /* show or hide the list that points to the attachments */
void setShowAttachmentQuicklist(bool showAttachmentQuicklist = true);
void scrollToAttachment(KMime::Content *node);