[kde-doc-english] [trojita] src/Gui: GUI: don't show a "Multipart Message" indicator in the GUI
Jan Kundrát
jkt at flaska.net
Thu Apr 18 17:23:53 UTC 2013
Git commit 48964c32435025bfadfeb8ef99c689d9b1fd2744 by Jan Kundrát.
Committed on 18/04/2013 at 19:19.
Pushed by jkt into branch 'master'.
GUI: don't show a "Multipart Message" indicator in the GUI
Some people (iirc serpentinbe on IRC) argued that this does not make much sense.
I guess I can agree with them.
M +2 -2 src/Gui/PartWidget.cpp
M +1 -1 src/Gui/PartWidget.h
http://commits.kde.org/trojita/48964c32435025bfadfeb8ef99c689d9b1fd2744
diff --git a/src/Gui/PartWidget.cpp b/src/Gui/PartWidget.cpp
index be7f41b..89b5247 100644
--- a/src/Gui/PartWidget.cpp
+++ b/src/Gui/PartWidget.cpp
@@ -146,9 +146,9 @@ QString MultipartSignedWidget::quoteMe() const
GenericMultipartWidget::GenericMultipartWidget(QWidget *parent,
PartWidgetFactory *factory, const QModelIndex &partIndex,
int recursionDepth):
- QGroupBox(tr("Multipart Message"), parent)
+ QWidget(parent)
{
- setFlat(true);
+ setContentsMargins(0, 0, 0, 0);
// multipart/mixed or anything else, as mandated by RFC 2046, Section 5.1.3
QVBoxLayout *layout = new QVBoxLayout(this);
layout->setSpacing(0);
diff --git a/src/Gui/PartWidget.h b/src/Gui/PartWidget.h
index 8d7ccee..497b782 100644
--- a/src/Gui/PartWidget.h
+++ b/src/Gui/PartWidget.h
@@ -58,7 +58,7 @@ public:
};
/** @short Message quoting support for generic multipart/ * */
-class GenericMultipartWidget: public QGroupBox, public AbstractPartWidget
+class GenericMultipartWidget: public QWidget, public AbstractPartWidget
{
Q_OBJECT
public:
More information about the kde-doc-english
mailing list