From 40ce2b41331888d6284fff6e709789e939cc6a1a Mon Sep 17 00:00:00 2001 From: Cástor Muñoz Date: Fri, 8 Jan 2016 23:56:27 +0100 Subject: rbutil: add abort signal for bootloader install/uninstall During the bootloader install/uninstall process, a signal is emitted when "Abort" button is pressed, the installers can attach this signal and cancel the process. Change-Id: I7f297b8031d7a2d93da0022081aaef03ef041baf --- rbutil/rbutilqt/gui/selectiveinstallwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rbutil/rbutilqt/gui/selectiveinstallwidget.cpp') diff --git a/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp b/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp index 35837ba41d..843fa63cad 100644 --- a/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp +++ b/rbutil/rbutilqt/gui/selectiveinstallwidget.cpp @@ -247,6 +247,8 @@ void SelectiveInstallWidget::installBootloader(void) connect(bl, SIGNAL(done(bool)), this, SLOT(continueInstall(bool))); connect(bl, SIGNAL(logItem(QString, int)), m_logger, SLOT(addItem(QString, int))); connect(bl, SIGNAL(logProgress(int, int)), m_logger, SLOT(setProgress(int, int))); + // pass Abort button click signal to current installer + connect(m_logger, SIGNAL(aborted()), bl, SLOT(progressAborted())); // set bootloader filename. Do this now as installed() needs it. QStringList blfile = SystemInfo::value(SystemInfo::CurBootloaderFile).toStringList(); -- cgit v1.2.3