mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 23:45:35 +08:00
Ref T103, moved directory functions from CBuildConfig to CDirectoryUtils
getApplicationDir renamed to getBinDir() as it works different on MacOs see https://dev.swift-project.org/w/dev/swiftpc/dirstructure/
This commit is contained in:
committed by
Mathew Sutcliffe
parent
eaac4dacd6
commit
debd9c802f
@@ -20,7 +20,6 @@
|
||||
#include "blackmisc/network/networkutils.h"
|
||||
#include "blackmisc/network/url.h"
|
||||
#include "blackmisc/statusmessage.h"
|
||||
#include "blackconfig/buildconfig.h"
|
||||
|
||||
#include <QByteArray>
|
||||
#include <QFile>
|
||||
@@ -31,7 +30,6 @@
|
||||
#include <QUrl>
|
||||
#include <QtGlobal>
|
||||
|
||||
using namespace BlackConfig;
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Db;
|
||||
using namespace BlackMisc::Network;
|
||||
@@ -518,7 +516,7 @@ namespace BlackCore
|
||||
CLogMessage(this).info("Setup (bootstrap already cached, no prefill needed");
|
||||
return false;
|
||||
}
|
||||
const QString fn = CBuildConfig::getBootstrapResourceFile();
|
||||
const QString fn = CDirectoryUtils::getBootstrapResourceFile();
|
||||
const CStatusMessageList msgs = this->readLocalBootstrapFile(fn);
|
||||
CLogMessage::preformatted(msgs);
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user