summaryrefslogtreecommitdiffstats
path: root/examples/qtmail/emailcomposer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qtmail/emailcomposer.cpp')
-rw-r--r--examples/qtmail/emailcomposer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qtmail/emailcomposer.cpp b/examples/qtmail/emailcomposer.cpp
index a8dc1a66..be8b471c 100644
--- a/examples/qtmail/emailcomposer.cpp
+++ b/examples/qtmail/emailcomposer.cpp
@@ -977,7 +977,7 @@ void EmailComposerInterface::create(const QMailMessage& sourceMail)
} else {
if (!localFile) {
// We need to create a temporary copy of this part's data to link to
- QString fileName(part.writeBodyTo(QMail::tempPath()));
+ QString fileName(part.writeBodyTo(QDir::tempPath()));
if (fileName.isEmpty()) {
qWarning() << "Unable to save part to temporary file!";
continue;