summaryrefslogtreecommitdiff
path: root/src/resources/item
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/item')
-rw-r--r--src/resources/item/item.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/item/item.cpp b/src/resources/item/item.cpp
index fb7290721..ff59fcd19 100644
--- a/src/resources/item/item.cpp
+++ b/src/resources/item/item.cpp
@@ -83,7 +83,7 @@ Item::~Item()
mImage->decRef();
mImage = nullptr;
}
- delete2(mOptions);
+ delete2(mOptions)
dragDrop.clearItem(this);
}
@@ -187,7 +187,7 @@ void Item::addCard(const int card)
void Item::setOptions(const ItemOptionsList *const options)
{
- delete2(mOptions);
+ delete2(mOptions)
mOptions = ItemOptionsList::copy(options);
}