summaryrefslogtreecommitdiff
path: root/src/gui/models/playertablemodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/models/playertablemodel.cpp')
-rw-r--r--src/gui/models/playertablemodel.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gui/models/playertablemodel.cpp b/src/gui/models/playertablemodel.cpp
index 8844404a9..b846e7b91 100644
--- a/src/gui/models/playertablemodel.cpp
+++ b/src/gui/models/playertablemodel.cpp
@@ -96,10 +96,6 @@ void PlayerTableModel::playerRelationsUpdated()
freeWidgets();
StringVect *const player_names = player_relations.getPlayers();
-
- if (!player_names)
- return;
-
delete mPlayers;
mPlayers = player_names;