-rw-r--r-- | kmicromail/viewmailbase.cpp | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/kmicromail/viewmailbase.cpp b/kmicromail/viewmailbase.cpp index 9365c23..3a41ba0 100644 --- a/kmicromail/viewmailbase.cpp +++ b/kmicromail/viewmailbase.cpp | |||
@@ -48,27 +48,21 @@ ViewMailBase::ViewMailBase(QWidget *parent, const char *name, WFlags fl) | |||
48 | attachbutton->addTo(toolbar); | 48 | attachbutton->addTo(toolbar); |
49 | attachbutton->addTo(mailmenu); | 49 | attachbutton->addTo(mailmenu); |
50 | connect(attachbutton, SIGNAL(toggled(bool)), SLOT(slotChangeAttachview(bool))); | 50 | connect(attachbutton, SIGNAL(toggled(bool)), SLOT(slotChangeAttachview(bool))); |
51 | 51 | ||
52 | 52 | showHtml = new QAction( i18n( "Show Html" ), SmallIcon( "html" ), 0, 0, this, 0, true ); | |
53 | showHtml = new QAction( i18n( "Show Html" ), SmallIcon( "html" ), 0, 0, this, 0, true ); | 53 | showHtml->addTo( toolbar ); |
54 | showHtml->addTo( toolbar ); | 54 | showHtml->addTo( mailmenu ); |
55 | showHtml->addTo( mailmenu ); | ||
56 | 55 | ||
57 | deleteMail = new QAction(i18n("Delete Mail"),SmallIcon("trash"), 0, 0, this); | 56 | deleteMail = new QAction(i18n("Delete Mail"),SmallIcon("trash"), 0, 0, this); |
58 | deleteMail->addTo(toolbar); | 57 | deleteMail->addTo(toolbar); |
59 | deleteMail->addTo(mailmenu); | 58 | deleteMail->addTo(mailmenu); |
60 | 59 | ||
61 | |||
62 | |||
63 | nextMail = new QAction(i18n("Show next mail"),SmallIcon("enter"), 0, 0, this); | 60 | nextMail = new QAction(i18n("Show next mail"),SmallIcon("enter"), 0, 0, this); |
64 | QLabel *spacer = new QLabel(toolbar); | 61 | QLabel *spacer = new QLabel(toolbar); |
65 | nextMail->addTo(toolbar); | 62 | nextMail->addTo(toolbar); |
66 | nextMail->addTo(mailmenu); | 63 | nextMail->addTo(mailmenu); |
67 | 64 | ||
68 | |||
69 | |||
70 | |||
71 | closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this); | 65 | closeMail = new QAction(i18n("Close"),SmallIcon("exit"), 0, 0, this); |
72 | //QLabel *spacer = new QLabel(toolbar); | 66 | //QLabel *spacer = new QLabel(toolbar); |
73 | spacer->setBackgroundMode(QWidget::PaletteButton); | 67 | spacer->setBackgroundMode(QWidget::PaletteButton); |
74 | toolbar->setStretchableWidget(spacer); | 68 | toolbar->setStretchableWidget(spacer); |