Skip to content

Commit c1ac686

Browse files
fix: save location already includes the filename
1 parent 911f373 commit c1ac686

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/gui/Window.cpp

+1-4
Original file line numberDiff line numberDiff line change
@@ -216,14 +216,11 @@ void Window::extractFile(const QString& path, QString savePath) {
216216

217217
filter = fileExtPretty + " (*" + fileExt + ");;All files (*.*)";
218218
}
219-
savePath = QFileDialog::getSaveFileName(this, tr("Save As..."), path, filter);
219+
savePath = QFileDialog::getSaveFileName(this, tr("Extract as..."), path, filter);
220220
}
221221
if (savePath.isEmpty()) {
222222
return;
223223
}
224-
savePath += '/';
225-
savePath += entry->filename;
226-
227224
this->writeEntryToFile(savePath, *entry);
228225
}
229226

0 commit comments

Comments
 (0)