summaryrefslogtreecommitdiff
path: root/core/launcher/launcher.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/launcher.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp19
1 files changed, 12 insertions, 7 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
@@ -606,3 +606,3 @@ Launcher::Launcher( QWidget* parent, const char* name, WFlags fl )
//uidgen.store( stamp );
- m_timeStamp = QString::number( stamp );
+ m_timeStamp = QString::number( stamp );
@@ -981,7 +981,12 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
}
- } else if ( msg == "sendVersionInfo()" ) {
+ }
+ /*
+ * QtopiaDesktop relies on the major number
+ * to start with 1. We're at 0.9
+ * so wee need to fake at least 1.4 to be able
+ * to sync with QtopiaDesktop1.6
+ */
+ else if ( msg == "sendVersionInfo()" ) {
QCopEnvelope e( "QPE/Desktop", "versionInfo(QString)" );
- QString v = QPE_VERSION;
- QStringList l = QStringList::split( '.', v );
- QString v2 = l[0] + '.' + l[1];
+ QString v2 = QString::fromLatin1("1.4");
e << v2;
@@ -1052,3 +1057,3 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
connect( syncDialog->buttonCancel, SIGNAL( clicked() ),
- SLOT( cancelSync() ) );
+ SLOT( cancelSync() ) );
} else if ( msg == "stopSync()") {
@@ -1095,3 +1100,3 @@ void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
#endif
-
+
//qDebug( "================ \n\n%s\n\n===============",