aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-05-18 03:05:46 +1000
committerBenjamin Dobell <benjamin.dobell+git@glassechidna.com.au>2014-05-18 03:05:46 +1000
commitfc0d542bc28b86b1fa3402ab6878c7dea450d0c6 (patch)
tree3001fd3ca821af0f88210ef34ae8301d8f300695
parentbd9b2bdee6f65ca2a7531fe81e7a80261a87dc5d (diff)
downloadexternal_heimdall-fc0d542bc28b86b1fa3402ab6878c7dea450d0c6.zip
external_heimdall-fc0d542bc28b86b1fa3402ab6878c7dea450d0c6.tar.gz
external_heimdall-fc0d542bc28b86b1fa3402ab6878c7dea450d0c6.tar.bz2
Fixed Frontend bug that could cause flashing to fail.
The resume boolean did not have a default value set. Consequently if the memory address containing the boolean was already non-null it resulted in the heimdall CLI binary being called with the --resume flag even though the Resume check-box in the UI was not checked.
-rw-r--r--heimdall-frontend/Source/mainwindow.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/heimdall-frontend/Source/mainwindow.cpp b/heimdall-frontend/Source/mainwindow.cpp
index 98f683e..f122034 100644
--- a/heimdall-frontend/Source/mainwindow.cpp
+++ b/heimdall-frontend/Source/mainwindow.cpp
@@ -419,6 +419,7 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent)
populatingPartitionNames = false;
verboseOutput = false;
+ resume = false;
tabIndex = functionTabWidget->currentIndex();
functionTabWidget->setTabEnabled(functionTabWidget->indexOf(createPackageTab), false);