summaryrefslogtreecommitdiffabout
path: root/korganizer/main.cpp
authorzautrix <zautrix>2004-10-20 09:45:16 (UTC)
committer zautrix <zautrix>2004-10-20 09:45:16 (UTC)
commitb3662915cb2c966ed7b5c563b8e840ae5b82d4e6 (patch) (side-by-side diff)
treebc09d046e1d47fe94acb538af88458f716993dfc /korganizer/main.cpp
parent40eaafc9e008dc004b6ebc65fae8d89c8883ee8b (diff)
downloadkdepimpi-b3662915cb2c966ed7b5c563b8e840ae5b82d4e6.zip
kdepimpi-b3662915cb2c966ed7b5c563b8e840ae5b82d4e6.tar.gz
kdepimpi-b3662915cb2c966ed7b5c563b8e840ae5b82d4e6.tar.bz2
fixed br for kopi
Diffstat (limited to 'korganizer/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/main.cpp6
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
@@ -80,8 +80,7 @@ int main( int argc, char **argv )
KStandardDirs::setAppDir( QDir::convertSeparators(locateLocal("data", "korganizer")));
MainWindow m;
#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& )));
a.showMainWidget(&m );
#else
@@ -99,9 +98,6 @@ int main( int argc, char **argv )
}
a.exec();
-#ifndef DESKTOP_VERSION
- delete c1;
-#endif
}
qDebug("KO: Bye! ");