mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-04-14 22:01:28 +03:00
Set the device node name as default JSON filename
This commit is contained in:
@@ -1194,7 +1194,7 @@ void MainWindow::on_actionSave_JSON_triggered()
|
|||||||
}
|
}
|
||||||
|
|
||||||
QString fileName = QFileDialog::getSaveFileName(this,
|
QString fileName = QFileDialog::getSaveFileName(this,
|
||||||
tr("Save JSON"), "",
|
tr("Save JSON"), deviceNodeLineEdit->text().section('/', -1) + ".json",
|
||||||
tr("JSON (*.json);;All Files (*)"));
|
tr("JSON (*.json);;All Files (*)"));
|
||||||
if (fileName.isEmpty())
|
if (fileName.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user