author | zautrix <zautrix> | 2004-10-20 10:24:19 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-20 10:24:19 (UTC) |
commit | f6f5f5cfcaa38f3e2bf36d8466b2b44ba7b3fb28 (patch) (side-by-side diff) | |
tree | c0f67de8a80dc20d80612d7b4b27ebc6ca30f1ca /kaddressbook/mainembedded.cpp | |
parent | b3662915cb2c966ed7b5c563b8e840ae5b82d4e6 (diff) | |
download | kdepimpi-f6f5f5cfcaa38f3e2bf36d8466b2b44ba7b3fb28.zip kdepimpi-f6f5f5cfcaa38f3e2bf36d8466b2b44ba7b3fb28.tar.gz kdepimpi-f6f5f5cfcaa38f3e2bf36d8466b2b44ba7b3fb28.tar.bz2 |
fixed br for kapi
Diffstat (limited to 'kaddressbook/mainembedded.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | kaddressbook/mainembedded.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
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! "); |