Skip to content

Commit

Permalink
Qt: Fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 13, 2024
1 parent e86cf51 commit ecbd693
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/duckstation-qt/qthost.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ std::optional<bool> QtHost::DownloadFile(QWidget* parent, const QString& title,

http->CreateRequest(
std::move(url),
[parent, data, &download_result, &progress](s32 status_code, const std::string&, std::vector<u8> hdata) {
[parent, data, &download_result](s32 status_code, const std::string&, std::vector<u8> hdata) {
if (status_code == HTTPDownloader::HTTP_STATUS_CANCELLED)
return;

Expand Down

0 comments on commit ecbd693

Please sign in to comment.