diff options
Diffstat (limited to 'gui/pages/TexturePackPage.h')
-rw-r--r-- | gui/pages/TexturePackPage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/pages/TexturePackPage.h b/gui/pages/TexturePackPage.h index 69a47204..7e663789 100644 --- a/gui/pages/TexturePackPage.h +++ b/gui/pages/TexturePackPage.h @@ -9,8 +9,8 @@ public: tr("Texture packs"), "Texture-packs", parent) { } - virtual ~TexturePackPage() {}; - virtual bool shouldDisplay() override + virtual ~TexturePackPage() {} + virtual bool shouldDisplay() const override { return m_inst->traits().contains("texturepacks"); } |