mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-21 04:45:31 +08:00
Minor adjustments setup reader
This commit is contained in:
committed by
Mat Sutcliffe
parent
7f1591c972
commit
158ba34936
@@ -22,7 +22,6 @@
|
|||||||
|
|
||||||
#include <QByteArray>
|
#include <QByteArray>
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QNetworkReply>
|
|
||||||
#include <QPointer>
|
#include <QPointer>
|
||||||
#include <QScopedPointer>
|
#include <QScopedPointer>
|
||||||
#include <QScopedPointerDeleteLater>
|
#include <QScopedPointerDeleteLater>
|
||||||
@@ -435,6 +434,7 @@ namespace BlackCore
|
|||||||
const QString errorMsg = QStringLiteral("Setup file loaded from '%1' cannot be parsed").arg(urlString);
|
const QString errorMsg = QStringLiteral("Setup file loaded from '%1' cannot be parsed").arg(urlString);
|
||||||
const CStatusMessage msg = ex.toStatusMessage(this, errorMsg);
|
const CStatusMessage msg = ex.toStatusMessage(this, errorMsg);
|
||||||
CLogMessage::preformatted(msg);
|
CLogMessage::preformatted(msg);
|
||||||
|
emit this->setupLoadingMessages(msg);
|
||||||
|
|
||||||
// in dev. I get notified, in productive code I try next URL by falling thru
|
// in dev. I get notified, in productive code I try next URL by falling thru
|
||||||
BLACK_VERIFY_X(false, Q_FUNC_INFO, errorMsg.toLocal8Bit().constData());
|
BLACK_VERIFY_X(false, Q_FUNC_INFO, errorMsg.toLocal8Bit().constData());
|
||||||
|
|||||||
@@ -22,13 +22,12 @@
|
|||||||
#include <QCommandLineOption>
|
#include <QCommandLineOption>
|
||||||
#include <QCoreApplication>
|
#include <QCoreApplication>
|
||||||
#include <QJsonObject>
|
#include <QJsonObject>
|
||||||
|
#include <QNetworkReply>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <atomic>
|
#include <atomic>
|
||||||
|
|
||||||
class QNetworkReply;
|
|
||||||
|
|
||||||
namespace BlackMisc { class CLogCategoryList; }
|
namespace BlackMisc { class CLogCategoryList; }
|
||||||
namespace BlackCoreTest { class CTestConnectivity; }
|
namespace BlackCoreTest { class CTestConnectivity; }
|
||||||
namespace BlackCore
|
namespace BlackCore
|
||||||
|
|||||||
Reference in New Issue
Block a user