| 244 | } |
| 245 | |
| 246 | void EFIBootEditor::export_() |
| 247 | { |
| 248 | QString file_name = QFileDialog::getSaveFileName(this, tr("Save boot configuration dump"), "", tr("JSON documents (*.json)")); |
| 249 | if(file_name.isEmpty()) |
| 250 | return; |
| 251 | |
| 252 | if(!file_name.endsWith(".json", Qt::CaseInsensitive)) |
| 253 | file_name += ".json"; |
| 254 | |
| 255 | data.export_(file_name); |
| 256 | } |
| 257 | |
| 258 | void EFIBootEditor::dump() |
| 259 | { |