mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-04 03:40:07 +00:00
Projucer: Send warning message in Project::removeDefunctExporters() to stdout when running from the command-line
This commit is contained in:
parent
6cb244f5a1
commit
a8ff4ea180
1 changed files with 7 additions and 3 deletions
|
|
@ -333,9 +333,13 @@ void Project::removeDefunctExporters()
|
|||
|
||||
if (oldExporter.isValid())
|
||||
{
|
||||
AlertWindow::showMessageBox (AlertWindow::WarningIcon,
|
||||
TRANS (oldExporters[key]),
|
||||
TRANS ("The " + oldExporters[key] + " Exporter is deprecated. The exporter will be removed from this project."));
|
||||
if (ProjucerApplication::getApp().isRunningCommandLine)
|
||||
std::cout << "WARNING! The " + oldExporters[key] + " Exporter is deprecated. The exporter will be removed from this project." << std::endl;
|
||||
else
|
||||
AlertWindow::showMessageBox (AlertWindow::WarningIcon,
|
||||
TRANS (oldExporters[key]),
|
||||
TRANS ("The " + oldExporters[key] + " Exporter is deprecated. The exporter will be removed from this project."));
|
||||
|
||||
exporters.removeChild (oldExporter, nullptr);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue