comparison src/main.cpp @ 155:6187c36de250

Add a comment.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 07 Sep 2017 12:53:03 +0300
parents ef4edd798a45
children afadc1380fb1
comparison
equal deleted inserted replaced
154:ef4edd798a45 155:6187c36de250
484 // Check for network access 484 // Check for network access
485 httpBackupReply = NULL; 485 httpBackupReply = NULL;
486 486
487 QNetworkAccessManager *manager = new QNetworkAccessManager(); 487 QNetworkAccessManager *manager = new QNetworkAccessManager();
488 /* 488 /*
489 // NOTE XXX! For some reason the manager returns not accessible under Wine
490 // and possibly some version(s) of Windows .. not sure why, thus commented
491 // out for now.
489 if (manager->networkAccessible() != QNetworkAccessManager::Accessible) 492 if (manager->networkAccessible() != QNetworkAccessManager::Accessible)
490 { 493 {
491 slLog("ERROR", QStringLiteral("Network not available, cannot backup the database.")); 494 slLog("ERROR", QStringLiteral("Network not available, cannot backup the database."));
492 return; 495 return;
493 } 496 }