mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
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:
committed by
Mathew Sutcliffe
parent
b13eb16d51
commit
f2d89bf56c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user