diff options
Diffstat (limited to 'examples/qtmail/emailcomposer.cpp')
| -rw-r--r-- | examples/qtmail/emailcomposer.cpp | 2 |
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; |
