summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/progressloggergui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/progressloggergui.cpp')
-rw-r--r--rbutil/rbutilqt/progressloggergui.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/progressloggergui.cpp b/rbutil/rbutilqt/progressloggergui.cpp
index 407ba26e1a..5bf7b92aaa 100644
--- a/rbutil/rbutilqt/progressloggergui.cpp
+++ b/rbutil/rbutilqt/progressloggergui.cpp
@@ -82,6 +82,13 @@ void ProgressLoggerGui::abort()
emit aborted();
}
+void ProgressLoggerGui::undoAbort()
+{
+ dp.buttonAbort->setText(tr("&Abort"));
+ dp.buttonAbort->setIcon(QIcon(QString::fromUtf8(":/icons/icons/process-stop.png")));
+ connect(dp.buttonAbort, SIGNAL(clicked()), this, SLOT(abort()));
+}
+
void ProgressLoggerGui::close()
{
downloadProgress->close();