author | alwin <alwin> | 2003-12-25 02:21:47 (UTC) |
---|---|---|
committer | alwin <alwin> | 2003-12-25 02:21:47 (UTC) |
commit | e0b1bc403c2792dff3aa04a00eaf58b9defc6dac (patch) (unidiff) | |
tree | bb76837783433a91f49c555b80e1d87e3dee720a | |
parent | dd78bcd2bf8dd6432b54af61e17a75dcc05c2406 (diff) | |
download | opie-e0b1bc403c2792dff3aa04a00eaf58b9defc6dac.zip opie-e0b1bc403c2792dff3aa04a00eaf58b9defc6dac.tar.gz opie-e0b1bc403c2792dff3aa04a00eaf58b9defc6dac.tar.bz2 |
called binary when sending email to a contact is "opiemail" instead
of "mail" when using opiemal as standard mailer.
-rw-r--r-- | core/pim/addressbook/addressbook.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/addressbook/addressbook.cpp b/core/pim/addressbook/addressbook.cpp index 9f668f4..00cd2a6 100644 --- a/core/pim/addressbook/addressbook.cpp +++ b/core/pim/addressbook/addressbook.cpp | |||
@@ -556,28 +556,28 @@ void AddressbookWindow::writeMail() | |||
556 | // switch to the other one.. | 556 | // switch to the other one.. |
557 | if ( m_config.useQtMail() ){ | 557 | if ( m_config.useQtMail() ){ |
558 | qWarning ("Accessing: %s", (basepath + "/bin/qtmail").latin1()); | 558 | qWarning ("Accessing: %s", (basepath + "/bin/qtmail").latin1()); |
559 | if ( QFile::exists( basepath + "/bin/qtmail" ) ){ | 559 | if ( QFile::exists( basepath + "/bin/qtmail" ) ){ |
560 | qWarning ("QCop"); | 560 | qWarning ("QCop"); |
561 | QCopEnvelope e("QPE/Application/qtmail", "writeMail(QString,QString)"); | 561 | QCopEnvelope e("QPE/Application/qtmail", "writeMail(QString,QString)"); |
562 | e << name << email; | 562 | e << name << email; |
563 | return; | 563 | return; |
564 | } else | 564 | } else |
565 | m_config.setUseOpieMail( true ); | 565 | m_config.setUseOpieMail( true ); |
566 | } | 566 | } |
567 | if ( m_config.useOpieMail() ){ | 567 | if ( m_config.useOpieMail() ){ |
568 | qWarning ("Accessing: %s", (basepath + "/bin/mail").latin1()); | 568 | qWarning ("Accessing: %s", (basepath + "/bin/opiemail").latin1()); |
569 | if ( QFile::exists( basepath + "/bin/mail" ) ){ | 569 | if ( QFile::exists( basepath + "/bin/opiemail" ) ){ |
570 | qWarning ("QCop"); | 570 | qWarning ("QCop"); |
571 | QCopEnvelope e("QPE/Application/mail", "writeMail(QString,QString)"); | 571 | QCopEnvelope e("QPE/Application/opiemail", "writeMail(QString,QString)"); |
572 | e << name << email; | 572 | e << name << email; |
573 | return; | 573 | return; |
574 | } else | 574 | } else |
575 | m_config.setUseQtMail( true ); | 575 | m_config.setUseQtMail( true ); |
576 | } | 576 | } |
577 | 577 | ||
578 | } | 578 | } |
579 | 579 | ||
580 | static const char * beamfile = "/tmp/obex/contact.vcf"; | 580 | static const char * beamfile = "/tmp/obex/contact.vcf"; |
581 | 581 | ||
582 | void AddressbookWindow::slotBeam() | 582 | void AddressbookWindow::slotBeam() |
583 | { | 583 | { |