From 85e6e905592b6e5356c18d3b64a84f03a163b872 Mon Sep 17 00:00:00 2001 From: jan Iversen Date: Tue, 10 Dec 2019 11:36:42 +0100 Subject: [PATCH] core: uploadDiveLogsDE::prepareDives no longer need to be public Integration into desktop-widgets is complete. Move prepareDives() from public to private Signed-off-by: Jan Iversen --- core/uploadDiveLogsDE.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/uploadDiveLogsDE.h b/core/uploadDiveLogsDE.h index 88022b734..5c17e64a5 100644 --- a/core/uploadDiveLogsDE.h +++ b/core/uploadDiveLogsDE.h @@ -13,9 +13,6 @@ public: static uploadDiveLogsDE *instance(); void doUpload(bool selected, const QString &userid, const QString &password); - // only to be used in desktop-widgets::subsurfacewebservices - bool prepareDives(const QString &tempfile, const bool selected); - private slots: void updateProgressSlot(qint64 current, qint64 total); void uploadFinishedSlot(); @@ -32,6 +29,9 @@ private: void uploadDives(const QString &filename, const QString &userid, const QString &password); + // only to be used in desktop-widgets::subsurfacewebservices + bool prepareDives(const QString &tempfile, const bool selected); + QNetworkReply *reply; QHttpMultiPart *multipart; QTimer timeout;