diff options
Diffstat (limited to 'logic/Env.h')
-rw-r--r-- | logic/Env.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/logic/Env.h b/logic/Env.h index 523c51f0..3d560a29 100644 --- a/logic/Env.h +++ b/logic/Env.h @@ -22,15 +22,9 @@ public: // call when Qt stuff is being torn down void destroy(); - std::shared_ptr<QNetworkAccessManager> qnam() - { - return m_qnam; - } - - std::shared_ptr<HttpMetaCache> metacache() - { - return m_metacache; - } + std::shared_ptr<QNetworkAccessManager> qnam(); + + std::shared_ptr<HttpMetaCache> metacache(); /// init the cache. FIXME: possible future hook point void initHttpMetaCache(QString rootPath, QString staticDataPath); |