diff options
Diffstat (limited to 'gui/pages/TexturePackPage.h')
-rw-r--r-- | gui/pages/TexturePackPage.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gui/pages/TexturePackPage.h b/gui/pages/TexturePackPage.h index b1a2f544..69a47204 100644 --- a/gui/pages/TexturePackPage.h +++ b/gui/pages/TexturePackPage.h @@ -5,16 +5,13 @@ class TexturePackPage : public ModFolderPage { public: explicit TexturePackPage(BaseInstance *instance, QWidget *parent = 0) - : ModFolderPage(instance->texturePackList(), "texturepacks", "resourcepacks", + : ModFolderPage(instance, instance->texturePackList(), "texturepacks", "resourcepacks", tr("Texture packs"), "Texture-packs", parent) { - m_inst = instance; } virtual ~TexturePackPage() {}; virtual bool shouldDisplay() override { return m_inst->traits().contains("texturepacks"); } -private: - BaseInstance *m_inst; }; |