summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
authorzecke <zecke>2002-09-30 15:39:19 (UTC)
committer zecke <zecke>2002-09-30 15:39:19 (UTC)
commitd2a7ac3311bda821ee07ff070c24f17958657129 (patch) (unidiff)
treed616be7f21e75c0a7f27f2155fbb5bb5a0855266 /core/launcher/launcher.cpp
parentda273e4780502b8819118c5e31c9d565fc1a1b49 (diff)
downloadopie-d2a7ac3311bda821ee07ff070c24f17958657129.zip
opie-d2a7ac3311bda821ee07ff070c24f17958657129.tar.gz
opie-d2a7ac3311bda821ee07ff070c24f17958657129.tar.bz2
Make QtopiaDesktop1.6 work with Opie again
it did rely on the counter part to send a version number starting with 1
Diffstat (limited to 'core/launcher/launcher.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/launcher.cpp13
1 files changed, 9 insertions, 4 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp
index 1bd1156..6948976 100644
--- a/core/launcher/launcher.cpp
+++ b/core/launcher/launcher.cpp
@@ -981,7 +981,12 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
981 } 981 }
982 } else if ( msg == "sendVersionInfo()" ) { 982 }
983 /*
984 * QtopiaDesktop relies on the major number
985 * to start with 1. We're at 0.9
986 * so wee need to fake at least 1.4 to be able
987 * to sync with QtopiaDesktop1.6
988 */
989 else if ( msg == "sendVersionInfo()" ) {
983 QCopEnvelope e( "QPE/Desktop", "versionInfo(QString)" ); 990 QCopEnvelope e( "QPE/Desktop", "versionInfo(QString)" );
984 QString v = QPE_VERSION; 991 QString v2 = QString::fromLatin1("1.4");
985 QStringList l = QStringList::split( '.', v );
986 QString v2 = l[0] + '.' + l[1];
987 e << v2; 992 e << v2;