author | zautrix <zautrix> | 2005-02-17 10:52:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-02-17 10:52:04 (UTC) |
commit | 002e4f8cea2352e4b9a046b98f66be946fbeb5fc (patch) (unidiff) | |
tree | 7dde06f92ed54ec8ee40e68eaa312d2a2d379fb1 /kmicromail | |
parent | ec18172021a9adc0f6fa1fe80aec71e9a905a351 (diff) | |
download | kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.zip kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.gz kdepimpi-002e4f8cea2352e4b9a046b98f66be946fbeb5fc.tar.bz2 |
desktop fix
-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 | |||
@@ -153,7 +153,14 @@ ComposeMail::ComposeMail( Settings *sett, QWidget *parent, const char *name, boo | |||
153 | connect( SaveSigButton, SIGNAL( clicked() ), SLOT( saveSig()) ); | 153 | connect( SaveSigButton, SIGNAL( clicked() ), SLOT( saveSig()) ); |
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 | ||
159 | void ComposeMail::fillSettings() | 166 | void ComposeMail::fillSettings() |