summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/subsurfacewebservices.h
diff options
context:
space:
mode:
authorGravatar jan Iversen <jan@casacondor.com>2019-12-09 12:51:16 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-12-11 12:36:43 -0500
commit8becc29ca881332b3567ec15a396da9845837318 (patch)
treeca926a0331289ca68331f91d182c93096c559ff7 /desktop-widgets/subsurfacewebservices.h
parent10ab833d7dc00da13aa0cf0f0490bae63cb1294a (diff)
downloadsubsurface-8becc29ca881332b3567ec15a396da9845837318.tar.gz
desktop-widgets: split UI and network in DivelogsDeWebServices (prepare)
Clean prepareDivesForUpload() and uploadDives() so that uploadDives() only contain network handling no UI. Signed-off-by: Jan Iversen <jan@casacondor.com>
Diffstat (limited to 'desktop-widgets/subsurfacewebservices.h')
-rw-r--r--desktop-widgets/subsurfacewebservices.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop-widgets/subsurfacewebservices.h b/desktop-widgets/subsurfacewebservices.h
index b67217684..4da15c392 100644
--- a/desktop-widgets/subsurfacewebservices.h
+++ b/desktop-widgets/subsurfacewebservices.h
@@ -65,7 +65,7 @@ slots:
void startUpload();
private:
- void uploadDives(QIODevice *dldContent);
+ bool uploadDives(bool selected);
explicit DivelogsDeWebServices(QWidget *parent = 0, Qt::WindowFlags f = 0);
void setStatusText(int status);
void download_dialog_traverse_xml(xmlNodePtr node, unsigned int *download_status);