summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 21f9f35d..2e2ee0d0 100644
--- a/kopete/protocols/msn/incomingtransfer.cpp
+++ b/kopete/protocols/msn/incomingtransfer.cpp
@@ -177,7 +177,7 @@ void IncomingTransfer::processMessage(const Message& message)
else if(message.header.dataSize == 4 && message.applicationIdentifier == 1)
{
// Data preparation message.
- if (m_tempFile.name.isEmpty() == false) {
+ if (m_tempFile->name().isEmpty() == false) {
QFile::remove(m_tempFile->name());
}
m_tempFile = new KTempFile(locateLocal("tmp", "msnpicture--"), ".png");