From aa70ed2244700dbcc93c1fadb22edc1c1caede37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sun, 1 Feb 2015 11:44:47 +0100 Subject: SCRATCH move icons over to Env, instance proxy model to gui --- logic/Env.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'logic/Env.cpp') diff --git a/logic/Env.cpp b/logic/Env.cpp index daf17d65..f10f1951 100644 --- a/logic/Env.cpp +++ b/logic/Env.cpp @@ -1,5 +1,6 @@ #include "Env.h" #include "logic/net/HttpMetaCache.h" +#include "icons/IconList.h" #include #include #include @@ -35,6 +36,11 @@ std::shared_ptr< QNetworkAccessManager > Env::qnam() return m_qnam; } +std::shared_ptr Env::icons() +{ + Q_ASSERT(m_icons != nullptr); + return m_icons; +} void Env::initHttpMetaCache(QString rootPath, QString staticDataPath) { -- cgit v1.2.3