-rw-r--r-- | kmicromail/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kmicromail/mainwindow.cpp b/kmicromail/mainwindow.cpp index 7655385..4115276 100644 --- a/kmicromail/mainwindow.cpp +++ b/kmicromail/mainwindow.cpp | |||
@@ -166,32 +166,35 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
166 | if ( QApplication::desktop()->width() > 320 ) | 166 | if ( QApplication::desktop()->width() > 320 ) |
167 | closeMail->addTo(toolBar); | 167 | closeMail->addTo(toolBar); |
168 | closeMail->addTo(mailMenu); | 168 | closeMail->addTo(mailMenu); |
169 | 169 | ||
170 | 170 | ||
171 | QPopupMenu* helpMenu = new QPopupMenu( menuBar ); | 171 | QPopupMenu* helpMenu = new QPopupMenu( menuBar ); |
172 | menuBar->insertItem( i18n( "Help" ), helpMenu ); | 172 | menuBar->insertItem( i18n( "Help" ), helpMenu ); |
173 | QAction* li = new QAction(i18n("About"), QPixmap(), 0, 0, this); | 173 | QAction* li = new QAction(i18n("About"), QPixmap(), 0, 0, this); |
174 | connect( li, SIGNAL( activated() ), SLOT( showAbout()) ); | 174 | connect( li, SIGNAL( activated() ), SLOT( showAbout()) ); |
175 | li->addTo(helpMenu); | 175 | li->addTo(helpMenu); |
176 | li = new QAction(i18n("Licence"),QPixmap(), 0, 0, this); | 176 | li = new QAction(i18n("Licence"),QPixmap(), 0, 0, this); |
177 | connect( li, SIGNAL( activated() ), SLOT( showLicence()) ); | 177 | connect( li, SIGNAL( activated() ), SLOT( showLicence()) ); |
178 | li->addTo(helpMenu); | 178 | li->addTo(helpMenu); |
179 | li = new QAction(i18n("LibEtPan Licence"), QPixmap(), 0, 0, this); | 179 | li = new QAction(i18n("LibEtPan Licence"), QPixmap(), 0, 0, this); |
180 | connect( li, SIGNAL( activated() ), SLOT( showEtpanLicence()) ); | 180 | connect( li, SIGNAL( activated() ), SLOT( showEtpanLicence()) ); |
181 | li->addTo(helpMenu); | 181 | li->addTo(helpMenu); |
182 | #ifdef DESKTOP_VERSION | ||
183 | resize ( 640, 480 ); | ||
184 | #endif | ||
182 | } | 185 | } |
183 | 186 | ||
184 | MainWindow::~MainWindow() | 187 | MainWindow::~MainWindow() |
185 | { | 188 | { |
186 | } | 189 | } |
187 | 190 | ||
188 | void MainWindow::showLicence() | 191 | void MainWindow::showLicence() |
189 | { | 192 | { |
190 | KApplication::showLicence(); | 193 | KApplication::showLicence(); |
191 | } | 194 | } |
192 | void MainWindow::showAbout() | 195 | void MainWindow::showAbout() |
193 | { | 196 | { |
194 | QString version; | 197 | QString version; |
195 | #include <../version> | 198 | #include <../version> |
196 | 199 | ||
197 | QString cap = "About KOpieMail/Pi"; | 200 | QString cap = "About KOpieMail/Pi"; |