Changeset 0bd02bf in subsurface


Ignore:
Timestamp:
Apr 22, 2017, 1:46:27 PM (5 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
82d37e74
Parents:
ed09b35d
Message:

Download from divecomputer: stop timer on error

If we run into an error during the download, stop the timer that
triggers the update to the progressbar.

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • desktop-widgets/downloadfromdivecomputer.cpp

    r02e768a r0bd02bf  
    189189        // got an error
    190190        else if (state == ERROR) {
     191                timer->stop();
    191192                QMessageBox::critical(this, TITLE_OR_TEXT(tr("Error"), this->thread->error), QMessageBox::Ok);
    192 
    193193                markChildrenAsEnabled();
    194194                ui.progressBar->hide();
Note: See TracChangeset for help on using the changeset viewer.