Browse Source

Fixed Projucer compile on VS2013

tags/2021-05-28
tpoole 8 years ago
parent
commit
93f9ab24bb
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      extras/Projucer/Source/Licenses/jucer_LicenseThread.h
  2. +1
    -1
      extras/Projucer/Source/Licenses/jucer_LicenseWebview.h

+ 3
- 3
extras/Projucer/Source/Licenses/jucer_LicenseThread.h View File

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


+ 1
- 1
extras/Projucer/Source/Licenses/jucer_LicenseWebview.h View File

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


Loading…
Cancel
Save