author | zautrix <zautrix> | 2004-10-25 23:39:43 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-25 23:39:43 (UTC) |
commit | 7bf9517920766c9cd5e032af9cdd1e07d6604b6b (patch) (side-by-side diff) | |
tree | 10ff3855615ba19505907be8ab2f0268f76f3ae1 | |
parent | e7c948b76a46c923c21f2f35c677912b462fa1f4 (diff) | |
download | kdepimpi-7bf9517920766c9cd5e032af9cdd1e07d6604b6b.zip kdepimpi-7bf9517920766c9cd5e032af9cdd1e07d6604b6b.tar.gz kdepimpi-7bf9517920766c9cd5e032af9cdd1e07d6604b6b.tar.bz2 |
kopiemail fixes
-rw-r--r-- | kmicromail/composemail.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 5f7a76f..c504fdd 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp @@ -111,19 +111,16 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m connect( SaveButton, SIGNAL( clicked() ), SLOT( saveAsDraft()) ); mMail = 0; warnAttach = true; QIconSet icon; //icon = SmallIcon("fileexport"); icon = SmallIcon("filesave"); - SaveButton->setIconSet (icon ) ; - if ( QApplication::desktop()->width() < 320 ) { + SaveButton->setText ("") ; + SaveButton->setIconSet (icon ) ; SaveButton->setMaximumSize ( SaveButton->sizeHint().height(),SaveButton->sizeHint().height()) ; - } - else - SaveButton->setText (i18n("Save")); #ifndef DESKTOP_VERSION QPEApplication::setStylusOperation( message, QPEApplication::RightOnHold ); QPEApplication::setStylusOperation( senderNameEdit, QPEApplication::RightOnHold ); QPEApplication::setStylusOperation( subjectLine, QPEApplication::RightOnHold ); #endif message->setFont ( KOPrefs::instance()->mComposeFont ); |