summaryrefslogtreecommitdiffstats
path: root/sigmod/CoinList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/CoinList.cpp')
-rw-r--r--sigmod/CoinList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sigmod/CoinList.cpp b/sigmod/CoinList.cpp
index 47c360cf..a94406b6 100644
--- a/sigmod/CoinList.cpp
+++ b/sigmod/CoinList.cpp
@@ -228,6 +228,6 @@ Sigmod::CoinList& Sigmod::CoinList::operator=(const CoinList& rhs)
void Sigmod::CoinList::clear()
{
- while (objectCount())
- deleteObject(0);
+ qDeleteAll(m_objects);
+ m_objects.clear();
}