-rw-r--r-- | kmicromail/composemail.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 3231b45..7b609fc 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp | |||
@@ -154,5 +154,12 @@ ComposeMail::ComposeMail( Settings *sett, QWidget *parent, const char *name, boo | |||
154 | if ( smtpAccountBox->count()) | 154 | if ( smtpAccountBox->count()) |
155 | fillValues(0); | 155 | fillValues(0); |
156 | 156 | #ifdef DESKTOP_VERSION | |
157 | if ( QApplication::desktop()->width() <= 800 ) { | ||
158 | resize( QApplication::desktop()->size() ); | ||
159 | } else | ||
160 | resize( 800, 600 ); | ||
161 | if ( QApplication::desktop()->width() >= 640 ) | ||
162 | senderNameEdit->setFixedWidth( 200 ); | ||
163 | #endif | ||
157 | } | 164 | } |
158 | 165 | ||