Browse Source

Fixed a warning on Windows

tags/2021-05-28
ed 8 years ago
parent
commit
61a320fe6a
1 changed files with 7 additions and 7 deletions
  1. +7
    -7
      extras/Projucer/Source/Project/jucer_ConfigTree_Modules.h

+ 7
- 7
extras/Projucer/Source/Project/jucer_ConfigTree_Modules.h View File

@@ -37,7 +37,7 @@ public:
projectCppStandardValue.referTo (project.getCppStandardValue());
projectCppStandardValue.addListener (this);
info = project.getModules().getModuleInfo (moduleID);
moduleInfo = project.getModules().getModuleInfo (moduleID);
}
bool canBeSelected() const override { return true; }
@@ -67,11 +67,11 @@ public:
if (! isSelected())
{
if (info.isValid() && info.getVendor() == "juce")
if (moduleInfo.isValid() && moduleInfo.getVendor() == "juce")
{
if (info.getLicense() == "ISC")
if (moduleInfo.getLicense() == "ISC")
iconColour = Colours::lightblue;
else if (info.getLicense() == "GPL/Commercial")
else if (moduleInfo.getLicense() == "GPL/Commercial")
iconColour = Colours::orange;
}
}
@@ -96,7 +96,7 @@ public:
String moduleID;
private:
ModuleDescription info;
ModuleDescription moduleInfo;
bool missingDependencies = false;
bool cppStandardHigherThanProject = false;
Value projectCppStandardValue;
@@ -265,8 +265,8 @@ private:
}
}
if (auto* moduleInfo = dynamic_cast<ModuleInfoComponent*> (group.properties.getUnchecked (0)))
moduleInfo->refresh();
if (auto* infoComponent = dynamic_cast<ModuleInfoComponent*> (group.properties.getUnchecked (0)))
infoComponent->refresh();
}
//==============================================================================


Loading…
Cancel
Save