Simplify map list icon updating

This commit is contained in:
GriffinR
2024-08-08 17:26:42 -04:00
parent 4af1c4d463
commit edb4a67994
3 changed files with 44 additions and 35 deletions

View File

@@ -340,7 +340,6 @@ private:
QMap<Event::Group, DraggablePixmapItem*> lastSelectedEvent;
bool isProgrammaticEventTabChange;
bool projectHasUnsavedChanges;
bool newMapDefaultsSet = false;
MapSortOrder mapSortOrder;
@@ -366,7 +365,7 @@ private:
QStandardItem* createMapItem(QString mapName, int groupNum, int inGroupNum);
void refreshRecentProjectsMenu();
void drawMapListIcons(QAbstractItemModel *model);
void updateMapListIcon(const QString &mapName);
void updateMapList();
void displayMapProperties();