| 217 | // ### XMLFileExporter definition ### |
| 218 | |
| 219 | XMLFileExporter::XMLFileExporter(const QString& path, const Map* map, const MapView* view) |
| 220 | : Exporter(path, map, view) |
| 221 | { |
| 222 | // Determine auto-formatting default from filename, if possible. |
| 223 | bool auto_formatting = path.endsWith(QLatin1String(".xmap")); |
| 224 | setOption(QString::fromLatin1("autoFormatting"), auto_formatting); |
| 225 | } |
| 226 | |
| 227 | XMLFileExporter::~XMLFileExporter() = default; |
| 228 |
nothing calls this directly
no test coverage detected