From ff5b40a1f67134b7a73b0c62cfb2d1e0ef0e779e Mon Sep 17 00:00:00 2001 From: eilers Date: Thu, 02 Jan 2003 14:09:45 +0000 Subject: I hope this works better on the pda. The previous solution just worked on my desktop pc .. --- diff --git a/noncore/unsupported/mail2/mainwindow.cpp b/noncore/unsupported/mail2/mainwindow.cpp index a596653..0d09ec8 100644 --- a/noncore/unsupported/mail2/mainwindow.cpp +++ b/noncore/unsupported/mail2/mainwindow.cpp @@ -1,5 +1,7 @@ #include #include +#include + #include #include "mailstatusbar.h" @@ -37,9 +39,11 @@ MainWindow::MainWindow(QWidget *parent, const char *name, WFlags fl) // Added by Stefan Eilers to allow starting by addressbook.. #if !defined(QT_NO_COP) - QCopChannel *addressChannel = new QCopChannel("QPE/Application/mail" , this ); - connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)), - this, SLOT ( appMessage(const QCString &, const QByteArray &) ) ); +// QCopChannel *addressChannel = new QCopChannel("QPE/Application/mail" , this ); +// connect (addressChannel, SIGNAL( received(const QCString &, const QByteArray &)), +// this, SLOT ( appMessage(const QCString &, const QByteArray &) ) ); + connect( qApp, SIGNAL( appMessage( const QCString&, const QByteArray& ) ), + this, SLOT( appMessage( const QCString&, const QByteArray& ) ) ); #endif } -- cgit v0.9.0.2