mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
core: fix incorrect changes in divelogs.de export
This is complete nonsense and should never have been merged. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9e36968881
commit
24543a0099
1 changed files with 1 additions and 7 deletions
|
@ -64,12 +64,6 @@ void uploadDiveLogsDE::doUpload(bool selected, const QString &userid, const QStr
|
||||||
bool uploadDiveLogsDE::prepareDives(const QString &tempfile, bool selected)
|
bool uploadDiveLogsDE::prepareDives(const QString &tempfile, bool selected)
|
||||||
{
|
{
|
||||||
static const char errPrefix[] = "divelog.de-upload:";
|
static const char errPrefix[] = "divelog.de-upload:";
|
||||||
#ifndef SUBSURFACE_MOBILE
|
|
||||||
if (!amount_selected) {
|
|
||||||
report_error(tr("No dives were selected").toUtf8());
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
#endif // SUBSURFACE_MOBILE
|
|
||||||
|
|
||||||
xsltStylesheetPtr xslt = NULL;
|
xsltStylesheetPtr xslt = NULL;
|
||||||
struct zip *zip;
|
struct zip *zip;
|
||||||
|
@ -265,7 +259,7 @@ void uploadDiveLogsDE::updateProgressSlot(qint64 current, qint64 total)
|
||||||
{
|
{
|
||||||
if (!reply)
|
if (!reply)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (total <= 0 || current <= 0)
|
if (total <= 0 || current <= 0)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue