summaryrefslogtreecommitdiffabout
path: root/kmicromail/opiemail.cpp
authorzautrix <zautrix>2004-10-31 16:54:47 (UTC)
committer zautrix <zautrix>2004-10-31 16:54:47 (UTC)
commit3964a158be731f1bb244ca861262df5fa8d04cf3 (patch) (side-by-side diff)
treefa4a8e9af345c144562be480f21df6e3d8d609c7 /kmicromail/opiemail.cpp
parentbed831cc1a38d38a4c5b9329bf37b1c663142c23 (diff)
downloadkdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.zip
kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.tar.gz
kdepimpi-3964a158be731f1bb244ca861262df5fa8d04cf3.tar.bz2
changed showmaximized for desktop
Diffstat (limited to 'kmicromail/opiemail.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kmicromail/opiemail.cpp6
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 )
compose.setTo( to.left(sub+1) );
compose.setSubject( to.mid(sub+2) );
} else
compose.setTo( to );
}
compose.slotAdjustColumns();
+#ifndef DESKTOP_VERSION
compose.showMaximized();
+#endif
compose.exec();
raise();
//qDebug("retttich ");
}
void OpieMail::slotwriteMail(const QString&name,const QString&email)
{
@@ -143,13 +145,15 @@ void OpieMail::slotwriteMail(const QString&name,const QString&email)
else
{
compose.setTo(email);
}
}
compose.slotAdjustColumns();
+#ifndef DESKTOP_VERSION
compose.showMaximized();
+#endif
compose.exec();
raise();
}
void OpieMail::slotComposeMail()
{
@@ -191,13 +195,15 @@ void OpieMail::slotSendQueued()
}
else
{
smtp = 0;
selectsmtp selsmtp;
selsmtp.setSelectionlist(&smtpList);
+#ifndef DESKTOP_VERSION
selsmtp.showMaximized();
+#endif
if ( selsmtp.exec() == QDialog::Accepted )
{
smtp = selsmtp.selected_smtp();
}
}
if (smtp)