mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refactor: Remove unused method
This method is not used. The setup reader instead directly uses the convertFromJson method from the JSON mixin.
This commit is contained in:
@@ -158,13 +158,6 @@ namespace BlackCore::Data
|
||||
return url;
|
||||
}
|
||||
|
||||
CGlobalSetup CGlobalSetup::fromJsonFile(const QString &fileNameAndPath, bool acceptCacheFormat)
|
||||
{
|
||||
CGlobalSetup setup;
|
||||
loadFromJsonFile(setup, fileNameAndPath, acceptCacheFormat);
|
||||
return setup;
|
||||
}
|
||||
|
||||
CServerList CGlobalSetup::getPredefinedServersPlusHardcodedServers() const
|
||||
{
|
||||
static const CServerList hardcoded(
|
||||
|
||||
@@ -199,9 +199,6 @@ namespace BlackCore::Data
|
||||
//! Build the full dbdata directory URL from shared URL
|
||||
static BlackMisc::Network::CUrl buildDbDataDirectoryUrl(const BlackMisc::Network::CUrl &candidate);
|
||||
|
||||
//! Object initialized by JSON file
|
||||
static CGlobalSetup fromJsonFile(const QString &fileNameAndPath, bool acceptCacheFormat);
|
||||
|
||||
private:
|
||||
int m_dbHttpPort = 80; //!< port
|
||||
int m_dbHttpsPort = 443; //!< SSL port
|
||||
|
||||
Reference in New Issue
Block a user