Browse Source

Projucer: Send warning message in Project::removeDefunctExporters() to stdout when running from the command-line

tags/2021-05-28
ed 6 years ago
parent
commit
a8ff4ea180
1 changed files with 7 additions and 3 deletions
  1. +7
    -3
      extras/Projucer/Source/Project/jucer_Project.cpp

+ 7
- 3
extras/Projucer/Source/Project/jucer_Project.cpp View File

@@ -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…
Cancel
Save