summaryrefslogtreecommitdiffstats
path: root/kmail/kmmsgdict.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmmsgdict.cpp')
-rw-r--r--kmail/kmmsgdict.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kmail/kmmsgdict.cpp b/kmail/kmmsgdict.cpp
index f49437928..729a3663a 100644
--- a/kmail/kmmsgdict.cpp
+++ b/kmail/kmmsgdict.cpp
@@ -303,7 +303,7 @@ unsigned long KMMsgDict::remove(const KMMsgBase *msg)
void KMMsgDict::update(const KMMsgBase *msg, int index, int newIndex)
{
- KMMsgDictREntry *rentry = msg->tqparent()->storage()->rDict();
+ KMMsgDictREntry *rentry = msg->parent()->storage()->rDict();
if (rentry) {
KMMsgDictEntry *entry = rentry->get(index);
if (entry) {