summaryrefslogtreecommitdiff
authormickeyl <mickeyl>2003-08-26 14:14:34 (UTC)
committer mickeyl <mickeyl>2003-08-26 14:14:34 (UTC)
commitdbd38957ae8a24bc29f45a6b80cc17f45d8776df (patch) (side-by-side diff)
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
@@ -700,33 +700,35 @@ QPEApplication::QPEApplication( int & argc, char **argv, Type t )
}
#ifdef QTOPIA_INTERNAL_INITAPP
void QPEApplication::initApp( int argc, char **argv )
{
delete pidChannel;
d->keep_running = TRUE;
d->preloaded = FALSE;
d->forceshow = FALSE;
QCString channel = QCString(argv[0]);
channel.replace(QRegExp(".*/"),"");
d->appName = channel;
+ #if QT_VERSION > 235
qt_fbdpy->setIdentity( channel ); // In Qt/E 2.3.6
+ #endif
channel = "QPE/Application/" + channel;
pidChannel = new QCopChannel( channel, this);
connect( pidChannel, SIGNAL(received(const QCString &, const QByteArray &)),
this, SLOT(pidMessage(const QCString &, const QByteArray &)));
processQCopFile();
d->keep_running = d->qcopq.isEmpty();
for (int a=0; a<argc; a++) {
if ( qstrcmp(argv[a],"-preload")==0 ) {
argv[a] = argv[a+1];
a++;
d->preloaded = TRUE;
argc-=1;
} else if ( qstrcmp(argv[a],"-preload-show")==0 ) {