diff --git a/src/blackcore/data/globalsetup.cpp b/src/blackcore/data/globalsetup.cpp index f8c98b4b4..31280e145 100644 --- a/src/blackcore/data/globalsetup.cpp +++ b/src/blackcore/data/globalsetup.cpp @@ -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( diff --git a/src/blackcore/data/globalsetup.h b/src/blackcore/data/globalsetup.h index a69c6483a..d4f0cd648 100644 --- a/src/blackcore/data/globalsetup.h +++ b/src/blackcore/data/globalsetup.h @@ -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