mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-17 19:05:31 +08:00
Ref T32, add query parameter for swift application
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
#include "blackconfig/buildconfig.h"
|
#include "blackconfig/buildconfig.h"
|
||||||
#include "blackcore/data/globalsetup.h"
|
#include "blackcore/data/globalsetup.h"
|
||||||
|
#include "blackcore/application.h"
|
||||||
#include "blackmisc/json.h"
|
#include "blackmisc/json.h"
|
||||||
#include "blackmisc/network/server.h"
|
#include "blackmisc/network/server.h"
|
||||||
#include "blackmisc/network/user.h"
|
#include "blackmisc/network/user.h"
|
||||||
@@ -69,7 +70,12 @@ namespace BlackCore
|
|||||||
CUrl CGlobalSetup::getHelpPageUrl() const
|
CUrl CGlobalSetup::getHelpPageUrl() const
|
||||||
{
|
{
|
||||||
const CUrlList urls(this->m_onlineHelpUrls);
|
const CUrlList urls(this->m_onlineHelpUrls);
|
||||||
const CUrl url = urls.getRandomWorkingUrl();
|
CUrl url = urls.getRandomWorkingUrl();
|
||||||
|
if (sApp)
|
||||||
|
{
|
||||||
|
const QString a = sApp->getApplicationNameVersionBetaDev();
|
||||||
|
url.appendQuery("swift", a);
|
||||||
|
}
|
||||||
return url;
|
return url;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user