]> dgit.raspbian.org Git - nextcloud-desktop.git/commitdiff
User-Agent: put the actual version string in there
authorOlivier Goffart <ogoffart@woboq.com>
Thu, 5 Nov 2015 09:19:43 +0000 (10:19 +0100)
committerMarkus Goetz <markus@woboq.com>
Thu, 17 Mar 2016 09:52:55 +0000 (10:52 +0100)
It contains the build id in addition

(cherry picked from commit e0e793fb14a5c32b21db95a63ebf48084621ff4d)

src/libsync/utility.cpp

index e511d80417c3895435a654b21dea9cf5668281cc..bab600ade29f3053237ae7a6a20d546223d34067 100644 (file)
@@ -161,7 +161,7 @@ QByteArray Utility::userAgentString()
 {
     QString re = QString::fromLatin1("Mozilla/5.0 (%1) mirall/%2")
             .arg(platform())
-            .arg(QLatin1String(MIRALL_STRINGIFY(MIRALL_VERSION)));
+            .arg(QLatin1String(MIRALL_VERSION_STRING));
 
     QLatin1String appName(APPLICATION_SHORTNAME);