summaryrefslogtreecommitdiffstats
path: root/logic/ModList.h
diff options
context:
space:
mode:
Diffstat (limited to 'logic/ModList.h')
-rw-r--r--logic/ModList.h1
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.