Changeset 88738ede in subsurface


Ignore:
Timestamp:
May 29, 2017, 8:57:04 AM (4 months ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
76a38b6
Parents:
8d42d33
git-author:
Jan Mulder <jlmulder@…> (05/28/17 08:48:56)
git-committer:
Dirk Hohndel <dirk@…> (05/29/17 08:57:04)
Message:

mobile: dive_table.preexisting not set importing from mobile

Searching why the mobile app also downloads pre existing dives, it appears
that in the mobile app, the preexisting attribute is 0, where it should be the
number of dives before the download. This is easily solved by adding the correct
setting on the download thread. This solves the issue of downloading pre existing
dives.

Signed-off-by: Jan Mulder <jlmulder@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/downloadfromdcthread.cpp

    r7858376 r88738ede  
    3030        downloadTable.nr = 0;
    3131        qDebug() << "Starting the thread" << downloadTable.nr;
     32        dive_table.preexisting = dive_table.nr;
    3233
    3334        Q_ASSERT(internalData->download_table != nullptr);
Note: See TracChangeset for help on using the changeset viewer.