| 1133 | } |
| 1134 | |
| 1135 | std::shared_ptr<TexturePackFolderModel> MinecraftInstance::texturePackList() const |
| 1136 | { |
| 1137 | if (!m_texture_pack_list) |
| 1138 | { |
| 1139 | m_texture_pack_list.reset(new TexturePackFolderModel(texturePacksDir())); |
| 1140 | m_texture_pack_list->disableInteraction(isRunning()); |
| 1141 | connect(this, &BaseInstance::runningStatusChanged, m_texture_pack_list.get(), &ModFolderModel::disableInteraction); |
| 1142 | } |
| 1143 | return m_texture_pack_list; |
| 1144 | } |
| 1145 | |
| 1146 | std::shared_ptr<ShaderPackFolderModel> MinecraftInstance::shaderPackList() const |
| 1147 | { |
no test coverage detected