NOISSUE Add world icons and world icon reset button

This commit is contained in:
Petr Mrázek
2020-08-22 01:34:55 +02:00
parent c6c9feb3a2
commit 8a0027c73a
7 changed files with 108 additions and 2 deletions

View File

@ -44,7 +44,8 @@ public:
SeedRole,
NameRole,
GameModeRole,
LastPlayedRole
LastPlayedRole,
IconFileRole
};
WorldList(const QString &dir);
@ -81,6 +82,9 @@ public:
/// Deletes the mod at the given index.
virtual bool deleteWorld(int index);
/// Removes the world icon, if any
virtual bool resetIcon(int index);
/// Deletes all the selected mods
virtual bool deleteWorlds(int first, int last);