-rw-r--r-- | kmicromail/composemail.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index c504fdd..8eb6d27 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp | |||
@@ -109,18 +109,20 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m | |||
109 | connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) ); | 109 | connect( addButton, SIGNAL( clicked() ), SLOT( addAttachment() ) ); |
110 | connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) ); | 110 | connect( deleteButton, SIGNAL( clicked() ), SLOT( removeAttachment() ) ); |
111 | connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) ); | 111 | connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) ); |
112 | mMail = 0; | 112 | mMail = 0; |
113 | warnAttach = true; | 113 | warnAttach = true; |
114 | QIconSet icon; | 114 | QIconSet icon; |
115 | //icon = SmallIcon("fileexport"); | 115 | //icon = SmallIcon("fileexport"); |
116 | icon = SmallIcon("filesave"); | 116 | icon = SmallIcon("filesave"); |
117 | 117 | if ( QApplication::desktop()->width() < 320 ) | |
118 | SaveButton->setText ("") ; | 118 | SaveButton->setText ("") ; |
119 | else | ||
120 | SaveButton->setText (i18n("Save")) ; | ||
119 | SaveButton->setIconSet (icon ) ; | 121 | SaveButton->setIconSet (icon ) ; |
120 | SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ; | 122 | SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ; |
121 | #ifndef DESKTOP_VERSION | 123 | #ifndef DESKTOP_VERSION |
122 | QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); | 124 | QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); |
123 | QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold ); | 125 | QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold ); |
124 | QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold ); | 126 | QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold ); |
125 | #endif | 127 | #endif |
126 | message->setFont ( KOPrefs::instance()->mComposeFont ); | 128 | message->setFont ( KOPrefs::instance()->mComposeFont ); |