summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/msn/incomingtransfer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/msn/incomingtransfer.cpp')
-rw-r--r--kopete/protocols/msn/incomingtransfer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kopete/protocols/msn/incomingtransfer.cpp b/kopete/protocols/msn/incomingtransfer.cpp
index d6a89f38..21f9f35d 100644
--- a/kopete/protocols/msn/incomingtransfer.cpp
+++ b/kopete/protocols/msn/incomingtransfer.cpp
@@ -178,7 +178,7 @@ void IncomingTransfer::processMessage(const Message& message)
{
// Data preparation message.
if (m_tempFile.name.isEmpty() == false) {
- QFile::remove(m_tempFile.name());
+ QFile::remove(m_tempFile->name());
}
m_tempFile = new KTempFile(locateLocal("tmp", "msnpicture--"), ".png");
m_tempFile->setAutoDelete(true);