desktop-widgets: divelogsDE: delay handling until user select upload

Do not prepare zip file, just because user selected the divelogs.de
radiobutton

Move prepareDives to startUpload (slot handling user clicking on
upload button).

Signed-off-by: Jan Iversen <jan@casacondor.com>
This commit is contained in:
jan Iversen 2019-12-09 13:24:08 +01:00 committed by Dirk Hohndel
parent 8becc29ca8
commit 9fd95c18bd
2 changed files with 36 additions and 24 deletions

View file

@ -74,6 +74,7 @@ private:
QHttpMultiPart *multipart;
QTemporaryFile zipFile;
bool uploadMode;
bool useSelectedDives;
};
class UserSurveyServices : public QDialog {