-rw-r--r-- | korganizer/main.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/korganizer/main.cpp b/korganizer/main.cpp index 16186c0..c8a55d2 100644 --- a/korganizer/main.cpp +++ b/korganizer/main.cpp @@ -82,4 +82,3 @@ int main( int argc, char **argv ) #ifndef DESKTOP_VERSION - QCopChannel* c1 = new QCopChannel("QPE/Application/datebook",&m, "channel" ) ; - QObject::connect( c1, SIGNAL (received ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); + QObject::connect( &a, SIGNAL (appMessage ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); @@ -101,5 +100,2 @@ int main( int argc, char **argv ) a.exec(); -#ifndef DESKTOP_VERSION - delete c1; -#endif |