summaryrefslogtreecommitdiffstats
path: root/kmail/templateparser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/templateparser.cpp')
-rw-r--r--kmail/templateparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/templateparser.cpp b/kmail/templateparser.cpp
index dab5665e0..d5a8d3753 100644
--- a/kmail/templateparser.cpp
+++ b/kmail/templateparser.cpp
@@ -1004,10 +1004,10 @@ TQString TemplateParser::findTemplate()
TQString tmpl;
if ( !mFolder ) { // find folder message belongs to
- mFolder = mMsg->tqparent();
+ mFolder = mMsg->parent();
if ( !mFolder ) {
if ( mOrigMsg ) {
- mFolder = mOrigMsg->tqparent();
+ mFolder = mOrigMsg->parent();
}
if ( !mFolder ) {
kdDebug(5006) << "Oops! No folder for message" << endl;