From e3b55067eb51ee82e72b41a1919406d768e00b89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Sat, 24 Aug 2013 03:09:46 +0200 Subject: Legacy jar reassembly, base of proper custom jar support --- logic/ModList.h | 1 + 1 file changed, 1 insertion(+) (limited to 'logic/ModList.h') diff --git a/logic/ModList.h b/logic/ModList.h index 3cba69f5..61f3d596 100644 --- a/logic/ModList.h +++ b/logic/ModList.h @@ -37,6 +37,7 @@ public: virtual int columnCount ( const QModelIndex& parent ) const; size_t size() const { return mods.size(); }; + bool empty() const { return size() == 0; } Mod& operator[](size_t index) { return mods[index]; }; /// Reloads the mod list and returns true if the list changed. -- cgit v1.2.3