| 994 | } |
| 995 | |
| 996 | std::shared_ptr<ModFolderModel> MinecraftInstance::texturePackList() const |
| 997 | { |
| 998 | if (!m_texture_pack_list) |
| 999 | { |
| 1000 | m_texture_pack_list.reset(new TexturePackFolderModel(texturePacksDir())); |
| 1001 | m_texture_pack_list->disableInteraction(isRunning()); |
| 1002 | connect(this, &BaseInstance::runningStatusChanged, m_texture_pack_list.get(), &ModFolderModel::disableInteraction); |
| 1003 | } |
| 1004 | return m_texture_pack_list; |
| 1005 | } |
| 1006 | |
| 1007 | std::shared_ptr<ModFolderModel> MinecraftInstance::shaderPackList() const |
| 1008 | { |
no test coverage detected