Cleanup print statement

This commit is contained in:
Raffson 2023-01-20 20:41:47 +01:00
parent 88f984b0a8
commit 0da431fe33
No known key found for this signature in database
GPG Key ID: B0402B2C9B764D99

View File

@ -23,7 +23,6 @@ class QCampaignItem(QStandardItem):
# If the path does not exist (user does not have the terrain installed),
# use the old icons as fallback to avoid an ugly campaign list with missing icons
if not icon_path.exists():
print(f"Icon path: {campaign.fallback_icon_path}")
icon_path = campaign.fallback_icon_path
self.setIcon(QtGui.QIcon(QPixmap(str(icon_path))))