mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Projucer: Removed analytics
This commit is contained in:
parent
521c250413
commit
de23ef7b1f
31 changed files with 32 additions and 1056 deletions
|
|
@ -254,14 +254,6 @@ void HeaderComponent::timerCallback()
|
|||
}
|
||||
|
||||
//==============================================================================
|
||||
static void sendProjectButtonAnalyticsEvent (StringRef label)
|
||||
{
|
||||
StringPairArray data;
|
||||
data.set ("label", label);
|
||||
|
||||
Analytics::getInstance()->logEvent ("Project Button", data, ProjucerAnalyticsEvent::projectEvent);
|
||||
}
|
||||
|
||||
void HeaderComponent::initialiseButtons() noexcept
|
||||
{
|
||||
auto& icons = getIcons();
|
||||
|
|
@ -270,8 +262,6 @@ void HeaderComponent::initialiseButtons() noexcept
|
|||
addAndMakeVisible (projectSettingsButton.get());
|
||||
projectSettingsButton->onClick = [this]
|
||||
{
|
||||
sendProjectButtonAnalyticsEvent ("Project Settings");
|
||||
|
||||
if (auto* pcc = findParentComponentOfClass<ProjectContentComponent>())
|
||||
pcc->showProjectSettings();
|
||||
};
|
||||
|
|
@ -281,8 +271,6 @@ void HeaderComponent::initialiseButtons() noexcept
|
|||
saveAndOpenInIDEButton->isIDEButton = true;
|
||||
saveAndOpenInIDEButton->onClick = [this]
|
||||
{
|
||||
sendProjectButtonAnalyticsEvent ("Save and Open in IDE (" + exporterBox.getText() + ")");
|
||||
|
||||
if (auto* pcc = findParentComponentOfClass<ProjectContentComponent>())
|
||||
pcc->openInSelectedIDE (true);
|
||||
};
|
||||
|
|
@ -292,8 +280,6 @@ void HeaderComponent::initialiseButtons() noexcept
|
|||
userSettingsButton->isUserButton = true;
|
||||
userSettingsButton->onClick = [this]
|
||||
{
|
||||
sendProjectButtonAnalyticsEvent ("User Settings");
|
||||
|
||||
if (findParentComponentOfClass<ProjectContentComponent>() != nullptr)
|
||||
showUserSettings();
|
||||
};
|
||||
|
|
@ -302,8 +288,6 @@ void HeaderComponent::initialiseButtons() noexcept
|
|||
addAndMakeVisible (runAppButton.get());
|
||||
runAppButton->onClick = [this]
|
||||
{
|
||||
sendProjectButtonAnalyticsEvent ("Run Application");
|
||||
|
||||
if (childProcess != nullptr)
|
||||
childProcess->launchApp();
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue