refactor(RD): allow setting custom folder target for downloaded resources

Signed-off-by: flow <flowlnlnln@gmail.com>
This commit is contained in:
flow
2023-01-08 12:33:10 -03:00
parent bd36f8e220
commit c294c2d1df
6 changed files with 33 additions and 5 deletions

View File

@ -12,9 +12,10 @@ class ReviewMessageBox : public QDialog {
public:
static auto create(QWidget* parent, QString&& title, QString&& icon = "") -> ReviewMessageBox*;
using ResourceInformation = struct {
using ResourceInformation = struct res_info {
QString name;
QString filename;
QString custom_file_path {};
};
void appendResource(ResourceInformation&& info);