Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Tag Fetcher close button doesn't abort task #10878

Merged
merged 1 commit into from
Sep 9, 2022
Merged
Show file tree
Hide file tree
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
5 changes: 5 additions & 0 deletions src/library/dlgtagfetcher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,11 @@ void DlgTagFetcher::quit() {
accept();
}

void DlgTagFetcher::reject() {
m_tagFetcher.cancel();
accept();
}

void DlgTagFetcher::fetchTagProgress(const QString& text) {
QString status = tr("Status: %1");
loadingStatus->setText(status.arg(text));
Expand Down
1 change: 1 addition & 0 deletions src/library/dlgtagfetcher.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class DlgTagFetcher : public QDialog, public Ui::DlgTagFetcher {
void slotTrackChanged(TrackId trackId);
void apply();
void quit();
void reject() override;
void slotNext();
void slotPrev();

Expand Down