CVS commit by gerken: Fixing up version reporting, added OS name M +6 -0 jabberprotocol.cpp 1.108 --- kdenonbeta/kopete/protocols/jabber/jabberprotocol.cpp #1.107:1.108 @@ -38,4 +38,6 @@ #include +#include + #include "kopete.h" #include "systemtray.h" // I believe that this belongs into kopete.h @@ -221,6 +223,10 @@ void JabberProtocol::Connect() connect(jabberClient, SIGNAL(debugText(const QString &)), this, SLOT(slotPsiDebug(const QString &))); + utsname utsBuf; + uname(&utsBuf); + jabberClient->setClientName("Kopete Jabber Plugin"); jabberClient->setClientVersion("0.5.1"); + jabberClient->setOSName(QString("%1 %2").arg(utsBuf.sysname, 1).arg(utsBuf.release, 2)); }