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/base/bootloaderinstallbase.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'rbutil/rbutilqt/base/bootloaderinstallbase.cpp') diff --git a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp index 9a1c74c690..15ced2e435 100644 --- a/rbutil/rbutilqt/base/bootloaderinstallbase.cpp +++ b/rbutil/rbutilqt/base/bootloaderinstallbase.cpp @@ -103,6 +103,13 @@ void BootloaderInstallBase::installBlfile(void) } +void BootloaderInstallBase::progressAborted(void) +{ + LOG_INFO() << "progressAborted(void)"; + emit installAborted(); +} + + //! @brief backup OF file. //! @param to folder to write backup file to. Folder will get created. //! @return true on success, false on error. -- cgit v1.2.3