-rw-r--r-- | kmicromail/opiemail.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kmicromail/opiemail.cpp b/kmicromail/opiemail.cpp index fe9df87..8d16ae7 100644 --- a/kmicromail/opiemail.cpp +++ b/kmicromail/opiemail.cpp | |||
@@ -122,13 +122,15 @@ void OpieMail::slotwriteMail2(const QString& namemail ) | |||
122 | compose.setTo( to.left(sub+1) ); | 122 | compose.setTo( to.left(sub+1) ); |
123 | compose.setSubject( to.mid(sub+2) ); | 123 | compose.setSubject( to.mid(sub+2) ); |
124 | } else | 124 | } else |
125 | compose.setTo( to ); | 125 | compose.setTo( to ); |
126 | } | 126 | } |
127 | compose.slotAdjustColumns(); | 127 | compose.slotAdjustColumns(); |
128 | #ifndef DESKTOP_VERSION | ||
128 | compose.showMaximized(); | 129 | compose.showMaximized(); |
130 | #endif | ||
129 | compose.exec(); | 131 | compose.exec(); |
130 | raise(); | 132 | raise(); |
131 | //qDebug("retttich "); | 133 | //qDebug("retttich "); |
132 | } | 134 | } |
133 | void OpieMail::slotwriteMail(const QString&name,const QString&email) | 135 | void OpieMail::slotwriteMail(const QString&name,const QString&email) |
134 | { | 136 | { |
@@ -143,13 +145,15 @@ void OpieMail::slotwriteMail(const QString&name,const QString&email) | |||
143 | else | 145 | else |
144 | { | 146 | { |
145 | compose.setTo(email); | 147 | compose.setTo(email); |
146 | } | 148 | } |
147 | } | 149 | } |
148 | compose.slotAdjustColumns(); | 150 | compose.slotAdjustColumns(); |
151 | #ifndef DESKTOP_VERSION | ||
149 | compose.showMaximized(); | 152 | compose.showMaximized(); |
153 | #endif | ||
150 | compose.exec(); | 154 | compose.exec(); |
151 | raise(); | 155 | raise(); |
152 | } | 156 | } |
153 | 157 | ||
154 | void OpieMail::slotComposeMail() | 158 | void OpieMail::slotComposeMail() |
155 | { | 159 | { |
@@ -191,13 +195,15 @@ void OpieMail::slotSendQueued() | |||
191 | } | 195 | } |
192 | else | 196 | else |
193 | { | 197 | { |
194 | smtp = 0; | 198 | smtp = 0; |
195 | selectsmtp selsmtp; | 199 | selectsmtp selsmtp; |
196 | selsmtp.setSelectionlist(&smtpList); | 200 | selsmtp.setSelectionlist(&smtpList); |
201 | #ifndef DESKTOP_VERSION | ||
197 | selsmtp.showMaximized(); | 202 | selsmtp.showMaximized(); |
203 | #endif | ||
198 | if ( selsmtp.exec() == QDialog::Accepted ) | 204 | if ( selsmtp.exec() == QDialog::Accepted ) |
199 | { | 205 | { |
200 | smtp = selsmtp.selected_smtp(); | 206 | smtp = selsmtp.selected_smtp(); |
201 | } | 207 | } |
202 | } | 208 | } |
203 | if (smtp) | 209 | if (smtp) |