comparison src/main.cpp @ 152:0a7aff5dce3b

Oops, CURL stuff leftovers. Remove.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 28 Aug 2017 12:24:33 +0300
parents 753ae3569cb7
children 794a2387e92a
comparison
equal deleted inserted replaced
151:753ae3569cb7 152:0a7aff5dce3b
550 SIGNAL(error(QNetworkReply::NetworkError)), 550 SIGNAL(error(QNetworkReply::NetworkError)),
551 this, 551 this,
552 SLOT(httpBackupError(QNetworkReply::NetworkError))); 552 SLOT(httpBackupError(QNetworkReply::NetworkError)));
553 #else 553 #else
554 slLog("ERROR", QStringLiteral("Backup method is HTTP/HTTPS, but support is not compiled in!")); 554 slLog("ERROR", QStringLiteral("Backup method is HTTP/HTTPS, but support is not compiled in!"));
555 return;
556 #endif
557 }
558 else
559 if (settings.dbBackupMode == BACKUP_CURL_SFTP)
560 {
561 #ifdef USE_LIBCURL
562 #else
563 slLog("ERROR", QStringLiteral("Backup method is SFTP via libcurl, but support is not compiled in!"));
564 return; 555 return;
565 #endif 556 #endif
566 } 557 }
567 else 558 else
568 { 559 {