-rw-r--r-- | kmicromail/mainwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 21edfd2..5f777a3 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp | |||
@@ -34,9 +34,14 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
34 | 34 | ||
35 | addToolBar( toolBar ); | 35 | addToolBar( toolBar ); |
36 | toolBar->setHorizontalStretchable( true ); | 36 | toolBar->setHorizontalStretchable( true ); |
37 | 37 | ||
38 | 38 | QAction* getMail = new QAction( tr( "Get new mail" ), SmallIcon("add"), | |
39 | 0, 0, this ); | ||
40 | getMail->addTo( toolBar ); | ||
41 | getMail->addTo( mailMenu ); | ||
42 | connect(getMail, SIGNAL( activated() ), | ||
43 | SLOT( slotGetMail() ) ); | ||
39 | 44 | ||
40 | composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), | 45 | composeMail = new QAction( tr( "Compose new mail" ), SmallIcon("composemail"), |
41 | 0, 0, this ); | 46 | 0, 0, this ); |
42 | composeMail->addTo( toolBar ); | 47 | composeMail->addTo( toolBar ); |