-rw-r--r-- | kmicromail/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 5f777a3..d130317 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp | |||
@@ -153,12 +153,13 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
153 | QLabel *spacer = new QLabel( toolBar ); | 153 | QLabel *spacer = new QLabel( toolBar ); |
154 | spacer->setBackgroundMode( QWidget::PaletteButton ); | 154 | spacer->setBackgroundMode( QWidget::PaletteButton ); |
155 | toolBar->setStretchableWidget( spacer ); | 155 | toolBar->setStretchableWidget( spacer ); |
156 | 156 | ||
157 | QAction* closeMail = new QAction(tr("Close"),SmallIcon("exit"), 0, 0, this); | 157 | QAction* closeMail = new QAction(tr("Close"),SmallIcon("exit"), 0, 0, this); |
158 | connect( closeMail, SIGNAL( activated() ), SLOT( close() ) ); | 158 | connect( closeMail, SIGNAL( activated() ), SLOT( close() ) ); |
159 | if ( QApplication::desktop()->width() > 320 ) | ||
159 | closeMail->addTo(toolBar); | 160 | closeMail->addTo(toolBar); |
160 | closeMail->addTo(mailMenu); | 161 | closeMail->addTo(mailMenu); |
161 | 162 | ||
162 | 163 | ||
163 | QPopupMenu* helpMenu = new QPopupMenu( menuBar ); | 164 | QPopupMenu* helpMenu = new QPopupMenu( menuBar ); |
164 | menuBar->insertItem( tr( "Help" ), helpMenu ); | 165 | menuBar->insertItem( tr( "Help" ), helpMenu ); |