aboutsummaryrefslogtreecommitdiff
path: root/launcher/minecraft/mod/TexturePack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'launcher/minecraft/mod/TexturePack.cpp')
-rw-r--r--launcher/minecraft/mod/TexturePack.cpp5
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;
+}