diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-02-01 11:44:47 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-04-12 20:57:16 +0200 |
commit | aa70ed2244700dbcc93c1fadb22edc1c1caede37 (patch) | |
tree | 79fc6703e984edc4d631be8c6f40c71400f88aba /logic/Env.cpp | |
parent | 154d19bb74f4c5fc1519aa40cd9dfd20244273a1 (diff) | |
download | PrismLauncher-aa70ed2244700dbcc93c1fadb22edc1c1caede37.tar.gz PrismLauncher-aa70ed2244700dbcc93c1fadb22edc1c1caede37.tar.bz2 PrismLauncher-aa70ed2244700dbcc93c1fadb22edc1c1caede37.zip |
SCRATCH move icons over to Env, instance proxy model to gui
Diffstat (limited to 'logic/Env.cpp')
-rw-r--r-- | logic/Env.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <QDir> #include <QNetworkProxy> #include <QNetworkAccessManager> @@ -35,6 +36,11 @@ std::shared_ptr< QNetworkAccessManager > Env::qnam() return m_qnam; } +std::shared_ptr<IconList> Env::icons() +{ + Q_ASSERT(m_icons != nullptr); + return m_icons; +} void Env::initHttpMetaCache(QString rootPath, QString staticDataPath) { |