Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/gui/generalsettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ void GeneralSettings::slotCreateDebugArchive()
tr("Zip Archives") + " (*.zip)"
);

if (destination.path().isEmpty()) {
if (!destination.isLocalFile() || destination.toLocalFile().isEmpty()) {
return;
}

Expand All @@ -719,11 +719,11 @@ void GeneralSettings::slotCreateDebugArchive()
}
#endif

if (createDebugArchive(destination.path())) {
if (createDebugArchive(destination.toLocalFile())) {
QMessageBox::information(
this,
tr("Debug Archive Created"),
tr("Redact information deemed sensitive before sharing! Debug archive created at %1").arg(destination.toString())
tr("Redact information deemed sensitive before sharing! Debug archive created at %1").arg(destination.toLocalFile())
);
}
}
Expand Down
Loading