diff --git a/recovery/progressslideshowdialog.cpp b/recovery/progressslideshowdialog.cpp index 4d08c238..3d2fcb7a 100644 --- a/recovery/progressslideshowdialog.cpp +++ b/recovery/progressslideshowdialog.cpp @@ -79,6 +79,11 @@ ProgressSlideshowDialog::~ProgressSlideshowDialog() delete ui; } +void ProgressSlideshowDialog::reject() +{ + /* prevent closing. */ +} + void ProgressSlideshowDialog::setLabelText(const QString &text) { QString txt = text; diff --git a/recovery/progressslideshowdialog.h b/recovery/progressslideshowdialog.h index 0ad2d616..75d8d878 100644 --- a/recovery/progressslideshowdialog.h +++ b/recovery/progressslideshowdialog.h @@ -36,6 +36,7 @@ public slots: void pauseIOaccounting(); void resumeIOaccounting(); void changeDrive(const QString &drive); + void reject(); protected: QString _drive;