author | zautrix <zautrix> | 2004-10-30 17:07:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-30 17:07:04 (UTC) |
commit | 28df10a0eb5ff343191755a06391bc6ce2fd84b0 (patch) (unidiff) | |
tree | 930882e7400006887d68fd434939e3a376b8631b /kmicromail/mainwindow.cpp | |
parent | c8662dc632987a317386b923e24acb9507859528 (diff) | |
download | kdepimpi-28df10a0eb5ff343191755a06391bc6ce2fd84b0.zip kdepimpi-28df10a0eb5ff343191755a06391bc6ce2fd84b0.tar.gz kdepimpi-28df10a0eb5ff343191755a06391bc6ce2fd84b0.tar.bz2 |
ompi fixes
-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 | |||
@@ -170,24 +170,27 @@ MainWindow::MainWindow( QWidget *parent, const char *name, WFlags flags ) | |||
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 | { |