Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Prevent closing progress dialog #622

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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 recovery/progressslideshowdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ ProgressSlideshowDialog::~ProgressSlideshowDialog()
delete ui;
}

void ProgressSlideshowDialog::reject()
{
/* prevent closing. */
}

void ProgressSlideshowDialog::setLabelText(const QString &text)
{
QString txt = text;
Expand Down
1 change: 1 addition & 0 deletions recovery/progressslideshowdialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ public slots:
void pauseIOaccounting();
void resumeIOaccounting();
void changeDrive(const QString &drive);
void reject();

protected:
QString _drive;
Expand Down