diff options
author | Petr Mrázek <peterix@gmail.com> | 2013-08-24 03:09:46 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2013-08-24 03:09:46 +0200 |
commit | e3b55067eb51ee82e72b41a1919406d768e00b89 (patch) | |
tree | a22158bc63242191463d450d1a3f37eeb37bba5b /logic/ModList.h | |
parent | b78123166627139777fbd206866ee0d1c8bcd040 (diff) | |
download | MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.gz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.lz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.tar.xz MultiMC-e3b55067eb51ee82e72b41a1919406d768e00b89.zip |
Legacy jar reassembly, base of proper custom jar support
Diffstat (limited to 'logic/ModList.h')
-rw-r--r-- | logic/ModList.h | 1 |
1 files changed, 1 insertions, 0 deletions
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. |