# HG changeset patch # User Matti Hamalainen # Date 1503914770 -10800 # Node ID ef4edd798a45b270af5e90f11f947978716082c8 # Parent 794a2387e92af6f23caf3be8673f5f92f43755dc Disable network availability check for now, it seems to return false values in some cases. diff -r 794a2387e92a -r ef4edd798a45 src/main.cpp --- a/src/main.cpp Mon Aug 28 12:24:39 2017 +0300 +++ b/src/main.cpp Mon Aug 28 13:06:10 2017 +0300 @@ -485,11 +485,13 @@ httpBackupReply = NULL; QNetworkAccessManager *manager = new QNetworkAccessManager(); +/* if (manager->networkAccessible() != QNetworkAccessManager::Accessible) { slLog("ERROR", QStringLiteral("Network not available, cannot backup the database.")); return; } +*/ // Attempt to open the database file QFile *file = new QFile(dbFilename);