From f6f5f5cfcaa38f3e2bf36d8466b2b44ba7b3fb28 Mon Sep 17 00:00:00 2001 From: zautrix Date: Wed, 20 Oct 2004 10:24:19 +0000 Subject: fixed br for kapi --- (limited to 'kaddressbook/mainembedded.cpp') diff --git a/kaddressbook/mainembedded.cpp b/kaddressbook/mainembedded.cpp index 6dd97b8..a2ff1e9 100644 --- a/kaddressbook/mainembedded.cpp +++ b/kaddressbook/mainembedded.cpp @@ -79,17 +79,14 @@ int main( int argc, char **argv ) } #ifndef DESKTOP_VERSION a.showMainWidget( &m ); - QCopChannel* c1 = new QCopChannel("QPE/Application/addressbook",&m, "channelAB" ) ; - QObject::connect( c1, SIGNAL (received ( const QCString &, const QByteArray & )),&m, SLOT(recieve( const QCString&, const QByteArray& ))); + #else a.setMainWidget( &m ); m.resize (640, 480 ); m.show(); #endif a.exec(); -#ifndef DESKTOP_VERSION - delete c1; -#endif + } qDebug("KA: Bye! "); -- cgit v0.9.0.2