mirror of https://github.com/nextcloud/desktop
Give debug archive save location dialog a default location
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
64b7282bd4
commit
2323b843f0
|
@ -498,7 +498,13 @@ void GeneralSettings::slotIgnoreFilesEditor()
|
|||
|
||||
void GeneralSettings::slotCreateDebugArchive()
|
||||
{
|
||||
const auto filename = QFileDialog::getSaveFileName(this, tr("Create Debug Archive"), QString(), tr("Zip Archives") + " (*.zip)");
|
||||
const auto filename = QFileDialog::getSaveFileName(
|
||||
this,
|
||||
tr("Create Debug Archive"),
|
||||
QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation),
|
||||
tr("Zip Archives") + " (*.zip)"
|
||||
);
|
||||
|
||||
if (filename.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue