1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-30 15:52:12 +01:00

Moved question mark to code & added missing define

This commit is contained in:
Paul Jewell 2015-09-18 06:46:36 +01:00
parent 0a45bc6a4e
commit 55f3c91e9f
3 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@ GCS_SMALL_NAME := $(call smallify,$(GCS_BIG_NAME))
# Change this once the DNS is set to http://wiki.librepilot.org/
WIKI_URL_ROOT := https://librepilot.atlassian.net/wiki/display/LPDOC/
USAGETRACKER_URL := https://usagetracker.librepilot.org/?
USAGETRACKER_URL := https://usagetracker.librepilot.org/
# Set up default build configurations (debug | release)
GCS_BUILD_CONF := release
@ -251,6 +251,7 @@ gcs_qmake $(GCS_MAKEFILE): | $(GCS_DIR)
'GCS_BIG_NAME="$(GCS_BIG_NAME)"' GCS_SMALL_NAME=$(GCS_SMALL_NAME) \
'ORG_BIG_NAME="$(ORG_BIG_NAME)"' ORG_SMALL_NAME=$(ORG_SMALL_NAME) \
'WIKI_URL_ROOT="$(WIKI_URL_ROOT)"' \
'USAGETRACKER_URL="$(USAGETRACKER_URL)"' \
'GCS_LIBRARY_BASENAME=$(libbasename)' \
$(GCS_QMAKE_OPTS)

View File

@ -146,7 +146,6 @@ isEmpty(WIKI_URL_ROOT) {
WIKI_URL_ROOT = "$$WIKI_URL_ROOT"
}
isEmpty(GCS_LIBRARY_BASENAME):GCS_LIBRARY_BASENAME = lib
macx {

View File

@ -139,7 +139,7 @@ void UsageTrackerPlugin::trackUsage()
if (shouldSend(hash)) {
query.addQueryItem("hash", hash);
QUrl url(QString(USAGETRACKER_URL) + query.toString(QUrl::FullyEncoded));
QUrl url(QString(USAGETRACKER_URL) + "?" + query.toString(QUrl::FullyEncoded));
QNetworkAccessManager *networkAccessManager = new QNetworkAccessManager();