Mercurial > hg > syntilista
changeset 154:ef4edd798a45
Disable network availability check for now, it seems to return false values in some cases.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 28 Aug 2017 13:06:10 +0300 |
parents | 794a2387e92a |
children | 6187c36de250 |
files | src/main.cpp |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);