summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-08-26 14:14:34 (UTC)
committer mickeyl <mickeyl>2003-08-26 14:14:34 (UTC)
commitdbd38957ae8a24bc29f45a6b80cc17f45d8776df (patch) (unidiff)
treeeef29c893ac21185c7c5fec5b74125d8852f4c72
parent93572d0abaae444a56051d21a6fdbb76d56726e3 (diff)
downloadopie-dbd38957ae8a24bc29f45a6b80cc17f45d8776df.zip
opie-dbd38957ae8a24bc29f45a6b80cc17f45d8776df.tar.gz
opie-dbd38957ae8a24bc29f45a6b80cc17f45d8776df.tar.bz2
fixlet for compilage with older versions
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index b1b7ed4..9286f9f 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -708,17 +708,19 @@ void QPEApplication::initApp( int argc, char **argv )
708 d->preloaded = FALSE; 708 d->preloaded = FALSE;
709 d->forceshow = FALSE; 709 d->forceshow = FALSE;
710 710
711 QCString channel = QCString(argv[0]); 711 QCString channel = QCString(argv[0]);
712 712
713 channel.replace(QRegExp(".*/"),""); 713 channel.replace(QRegExp(".*/"),"");
714 d->appName = channel; 714 d->appName = channel;
715 715
716 #if QT_VERSION > 235
716 qt_fbdpy->setIdentity( channel ); // In Qt/E 2.3.6 717 qt_fbdpy->setIdentity( channel ); // In Qt/E 2.3.6
718 #endif
717 719
718 channel = "QPE/Application/" + channel; 720 channel = "QPE/Application/" + channel;
719 pidChannel = new QCopChannel( channel, this); 721 pidChannel = new QCopChannel( channel, this);
720 connect( pidChannel, SIGNAL(received(const QCString &, const QByteArray &)), 722 connect( pidChannel, SIGNAL(received(const QCString &, const QByteArray &)),
721 this, SLOT(pidMessage(const QCString &, const QByteArray &))); 723 this, SLOT(pidMessage(const QCString &, const QByteArray &)));
722 724
723 processQCopFile(); 725 processQCopFile();
724 d->keep_running = d->qcopq.isEmpty(); 726 d->keep_running = d->qcopq.isEmpty();