summaryrefslogtreecommitdiffstats
path: root/qt-ui/subsurfacewebservices.h
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-09 19:23:32 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-12-09 18:40:52 +0100
commit7c4b083c2bfb53c2c666d99b94d12f588f606e71 (patch)
treeca871be8978534dab8c147a2619323b479db8ab6 /qt-ui/subsurfacewebservices.h
parent8f29df6e5aa555f28d88fb54da127a835a8629de (diff)
downloadsubsurface-7c4b083c2bfb53c2c666d99b94d12f588f606e71.tar.gz
Divelogs.de: change the 'Apply' button to 'Done' for upload
Post downloading we have an 'Apply' button that can be clicked to apply/merge the downloaded dives. When uploading we rename the button to 'Done' and enable the button if the upload was successful. The 'Cancel' button on the other hand becomes disabled. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/subsurfacewebservices.h')
-rw-r--r--qt-ui/subsurfacewebservices.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/subsurfacewebservices.h b/qt-ui/subsurfacewebservices.h
index 07f902b8f..f6b3ee263 100644
--- a/qt-ui/subsurfacewebservices.h
+++ b/qt-ui/subsurfacewebservices.h
@@ -41,6 +41,7 @@ protected:
QNetworkReply *reply;
QTimer timeout;
QByteArray downloadedData;
+ QString defaultApplyText;
};
class SubsurfaceWebServices : public WebServices {
@@ -87,6 +88,7 @@ private:
QHttpMultiPart *multipart;
QTemporaryFile zipFile;
+ bool uploadMode;
};
#endif