summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2016-07-03 07:23:25 +0200
committerMontel Laurent <[email protected]>2016-07-03 07:23:25 +0200
commit9dc24a3dee01f4a6423db7df5ed6a11743ed15d1 (patch)
tree87546bb20bc20f6d976de4db02e88d44cce49aa9
parentb570e2793e27430adcf02a185cae62c017460a7b (diff)
Astyle kdelibs
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp1
-rw-r--r--messageviewer/src/viewer/viewer_p.h2
-rw-r--r--messageviewer/src/viewer/webengine/mailwebenginescript.cpp18
3 files changed, 9 insertions, 12 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index aa33133..c0767ec 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -1831,7 +1831,6 @@ QString ViewerPrivate::renderAttachments(KMime::Content *node, const QColor &bgC
visibility = QStringLiteral("display:none;");
}
-
QString margin;
if (node != mMessage.data() || headerStylePlugin()->hasMargin()) {
margin = QStringLiteral("padding:2px; margin:2px; ");
diff --git a/messageviewer/src/viewer/viewer_p.h b/messageviewer/src/viewer/viewer_p.h
index 237784b..b58da26 100644
--- a/messageviewer/src/viewer/viewer_p.h
+++ b/messageviewer/src/viewer/viewer_p.h
@@ -394,14 +394,12 @@ public:
/** Show signature details. */
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);
void setUseFixedFont(bool useFixedFont);
diff --git a/messageviewer/src/viewer/webengine/mailwebenginescript.cpp b/messageviewer/src/viewer/webengine/mailwebenginescript.cpp
index 48344af..3f731b9 100644
--- a/messageviewer/src/viewer/webengine/mailwebenginescript.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebenginescript.cpp
@@ -25,15 +25,15 @@ using namespace MessageViewer;
QString MailWebEngineScript::manageShowHideAttachments()
{
const QString source = QString::fromLatin1("qt.jQuery('#kmailshowattachment').click(function(){"
- "qt.jQuery('#kmailshowattachment').hide();"
- "qt.jQuery(\"#kmailhideattachment\").show();"
- "qt.jQuery(\"#attachmentid\").hide()}"
- ");"
- "qt.jQuery('#kmailhideattachment').click(function(){"
- "qt.jQuery(\"#kmailhideattachment\").hide();"
- "qt.jQuery(\"#kmailshowattachment\").show();"
- "qt.jQuery(\"#attachmentid\").show()}"
- ");");
+ "qt.jQuery('#kmailshowattachment').hide();"
+ "qt.jQuery(\"#kmailhideattachment\").show();"
+ "qt.jQuery(\"#attachmentid\").hide()}"
+ ");"
+ "qt.jQuery('#kmailhideattachment').click(function(){"
+ "qt.jQuery(\"#kmailhideattachment\").hide();"
+ "qt.jQuery(\"#kmailshowattachment\").show();"
+ "qt.jQuery(\"#attachmentid\").show()}"
+ ");");
return source;
}