Fixed misc. things for bootstrap file/reader

* added help URL
* added swift map URL
* fixed typo for crash report server
* added more failover servers
This commit is contained in:
Klaus Basan
2017-04-12 04:49:08 +02:00
committed by Mathew Sutcliffe
parent b13eb16d51
commit f2d89bf56c
5 changed files with 78 additions and 13 deletions

View File

@@ -262,7 +262,7 @@ namespace BlackCore
{
if (fileName.isEmpty()) { return CStatusMessage(this).error("No file name for local bootstrap file"); }
QString fn;
QFile file(fileName);
const QFile file(fileName);
if (!file.exists())
{
// relative name?
@@ -277,7 +277,7 @@ namespace BlackCore
fn = fileName;
}
QString content(CFileUtils::readFileToString(fn));
const QString content(CFileUtils::readFileToString(fn));
if (content.isEmpty()) { return CStatusMessage(this).error("File '%1' not existing or empty") << fn; }
try