refs #649, made base URL static const to resolve threading issue

(crash when shutting down)
This commit is contained in:
Klaus Basan
2016-06-04 14:47:25 +02:00
parent e752a3d73b
commit c31145b3a0
5 changed files with 13 additions and 9 deletions

View File

@@ -159,7 +159,8 @@ namespace BlackCore
mutable QReadWriteLock m_lockModels;
//! Base URL
BlackMisc::Network::CUrl getBaseUrl() const;
//! \threadsafe
static const BlackMisc::Network::CUrl &getBaseUrl();
//! URL livery web service
BlackMisc::Network::CUrl getLiveryUrl(bool shared = false) const;