mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Dereference the right pointer in fw update slot
This fixes a copy-paste error, dereferencing the wrong pointer in the slot that gets called when the firmware update thread has run. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
581288fb46
commit
eebb335a0c
1 changed files with 1 additions and 1 deletions
|
@ -571,7 +571,7 @@ void ConfigureDiveComputer::writeThreadFinished()
|
|||
void ConfigureDiveComputer::firmwareThreadFinished()
|
||||
{
|
||||
setState(DONE);
|
||||
if (resetThread->lastError.isEmpty()) {
|
||||
if (firmwareThread->lastError.isEmpty()) {
|
||||
//No error
|
||||
emit message(tr("Device firmware successfully updated"));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue