aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Ionascu <stanislav.ionascu@nokia.com>2010-11-16 08:20:51 +0200
committerStanislav Ionascu <stanislav.ionascu@nokia.com>2010-11-16 08:20:51 +0200
commitbadfde94fab7ed93b9c16b431c242cb4f6587a83 (patch)
tree352405b2b8ca16925c3fd351fbfb3e44b52eb1de
parent0190a86b181ba5a859a49a7940c2a299bb486972 (diff)
Fixes: List index private class was not destroyed on destruction of public class.
RevBy: TrustMe.
-rw-r--r--src/views/widgets/mlistindex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/views/widgets/mlistindex.cpp b/src/views/widgets/mlistindex.cpp
index 151e89c6..3a3c16ae 100644
--- a/src/views/widgets/mlistindex.cpp
+++ b/src/views/widgets/mlistindex.cpp
@@ -83,6 +83,7 @@ MListIndex::MListIndex(MList *parent)
MListIndex::~MListIndex()
{
+ delete d_ptr;
}
void MListIndex::setShortcuts(const QMap<QModelIndex, QString> &shortcuts)