diff options
Diffstat (limited to 'launcher/minecraft/mod/TexturePack.cpp')
-rw-r--r-- | launcher/minecraft/mod/TexturePack.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/launcher/minecraft/mod/TexturePack.cpp b/launcher/minecraft/mod/TexturePack.cpp index 796eb69d..99d55584 100644 --- a/launcher/minecraft/mod/TexturePack.cpp +++ b/launcher/minecraft/mod/TexturePack.cpp @@ -62,3 +62,8 @@ QPixmap TexturePack::image(QSize size) TexturePackUtils::process(*this); return image(size); } + +bool TexturePack::valid() const +{ + return m_description != nullptr; +} |