summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/server.cpp b/core/launcher/server.cpp
index 524e6dd..0eaebcf 100644
--- a/core/launcher/server.cpp
+++ b/core/launcher/server.cpp
@@ -380,34 +380,34 @@ void Server::systemMsg(const QCString &msg, const QByteArray &data)
} else if ( msg == "sendHandshakeInfo()" ) {
QString home = getenv( "HOME" );
#ifndef QT_NO_COP
QCopEnvelope e( "QPE/Desktop", "handshakeInfo(QString,bool)" );
e << home;
int locked = (int) ServerApplication::screenLocked();
e << locked;
#endif
} else if ( msg == "sendVersionInfo()" ) {
/*
* QtopiaDesktop relies on the major number
* to start with 1.
* we need to fake at least 1.4 to be able
* to sync with QtopiaDesktop1.6
*/
QCopEnvelope e( "QPE/Desktop", "versionInfo(QString,QString)" );
- /* ### FIXME Architecture ### */
- e << QString::fromLatin1("1.7") << "Uncustomized Device";
+ QString opiename = "Opie";
+ e << QString(QPE_VERSION) << opiename;
} else if ( msg == "sendCardInfo()" ) {
#ifndef QT_NO_COP
QCopEnvelope e( "QPE/Desktop", "cardInfo(QString)" );
#endif
storage->update();
const QList<FileSystem> &fs = storage->fileSystems();
QListIterator<FileSystem> it ( fs );
QString s;
QString homeDir = getenv("HOME");
QString homeFs, homeFsPath;
for ( ; it.current(); ++it ) {
int k4 = (*it)->blockSize()/256;
if ( (*it)->isRemovable() ) {
s += (*it)->name() + "=" + (*it)->path() + "/Documents " // No tr
+ QString::number( (*it)->availBlocks() * k4/4 )
+ "K " + (*it)->options() + ";";