1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed Projucer compile on VS2013

This commit is contained in:
tpoole 2017-05-04 09:01:42 +01:00
parent dc2ec6fc9d
commit 93f9ab24bb
2 changed files with 4 additions and 4 deletions

View file

@ -263,7 +263,7 @@ struct LicenseThread : NetWorkerThread
DynamicObject::Ptr redeamObject = new DynamicObject();
redeamObject->setProperty (serialIdentifier, productKey);
String postData (JSON::toString (var (redeamObject)));
String postData (JSON::toString (var (redeamObject.get())));
ScopedPointer<WebInputStream> shared = getSharedWebInputStream (URL ("https://api.roli.com/api/v1/user/products").withPOSTData (postData),
true);
@ -292,11 +292,11 @@ struct LicenseThread : NetWorkerThread
DynamicObject::Ptr jsonLicenseRequest = new DynamicObject();
jsonLicenseRequest->setProperty (licenseIdentifier, var (jsonLicenseObject));
jsonLicenseRequest->setProperty (licenseIdentifier, var (jsonLicenseObject.get()));
jsonLicenseRequest->setProperty (searchInternalIdentifier, "com.roli.projucer");
jsonLicenseRequest->setProperty (licenseTypeIdentifier, "software");
String postData (JSON::toString (var (jsonLicenseRequest)));
String postData (JSON::toString (var (jsonLicenseRequest.get())));
ScopedPointer<WebInputStream> shared
= getSharedWebInputStream (URL ("https://api.roli.com/api/v1/user/products/redeem").withPOSTData (postData), true);

View file

@ -138,7 +138,7 @@ private:
}
}
static constexpr uint32 backgroundColour = 0xff414141;
const uint32 backgroundColour = 0xff414141;
ScopedPointer<Drawable> juceLogo
= Drawable::createFromImageData (BinaryData::jucelogowithtext_svg,
BinaryData::jucelogowithtext_svgSize);