author | zautrix <zautrix> | 2004-09-08 11:34:38 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-08 11:34:38 (UTC) |
commit | 1fcec858408b88bb412af18fbf853b49b6970d8a (patch) (side-by-side diff) | |
tree | 702e94a74f0bb90335b9b193d28e31c1dc392c03 /kmicromail/composemail.cpp | |
parent | cdff4506a9148c47406af86968da73c0dbfca0ba (diff) | |
download | kdepimpi-1fcec858408b88bb412af18fbf853b49b6970d8a.zip kdepimpi-1fcec858408b88bb412af18fbf853b49b6970d8a.tar.gz kdepimpi-1fcec858408b88bb412af18fbf853b49b6970d8a.tar.bz2 |
Fixed QCOP call problem of kopiemail
-rw-r--r-- | kmicromail/composemail.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/kmicromail/composemail.cpp b/kmicromail/composemail.cpp index 01dd406..9efa932 100644 --- a/kmicromail/composemail.cpp +++ b/kmicromail/composemail.cpp @@ -43,3 +43,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m { - + mPickLineEdit = 0; @@ -52,2 +52,3 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m QString whoami_uid = config.readEntry( "WhoAmI" ); + if ( whoami_uid.isEmpty() ) { @@ -58,3 +59,5 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m } else - bool res = ExternalAppHandler::instance()->requestDetailsFromKAPI("", "sendbacklist", whoami_uid); + ExternalAppHandler::instance()->requestDetailsFromKAPI("", "sendbacklist", whoami_uid); + + #ifdef DESKTOP_VERSION @@ -84,3 +87,2 @@ ComposeMail::ComposeMail( Settings *s, QWidget *parent, const char *name, bool m attList->addColumn( tr( "Size" ) ); - QList<Account> accounts = settings->getAccounts(); @@ -199,3 +201,3 @@ void ComposeMail::insertAttendees(const QString& uid,const QStringList& nameLis { - qDebug("ComposeMail::insertAttendees "); + //qDebug("ComposeMail::insertAttendees "); raise(); @@ -203,3 +205,2 @@ void ComposeMail::insertAttendees(const QString& uid,const QStringList& nameLis if ( mPickLineEdit == 0 ) { //whoami received - qDebug("returnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn "); QString defmail = uidList[0]; |