|
|
@ -177,6 +177,9 @@ void IncomingTransfer::processMessage(const Message& message)
|
|
|
|
else if(message.header.dataSize == 4 && message.applicationIdentifier == 1)
|
|
|
|
else if(message.header.dataSize == 4 && message.applicationIdentifier == 1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// Data preparation message.
|
|
|
|
// Data preparation message.
|
|
|
|
|
|
|
|
if (m_tempFile.name.isEmpty() == false) {
|
|
|
|
|
|
|
|
QFile::remove(m_tempFile.name());
|
|
|
|
|
|
|
|
}
|
|
|
|
m_tempFile = new KTempFile(locateLocal("tmp", "msnpicture--"), ".png");
|
|
|
|
m_tempFile = new KTempFile(locateLocal("tmp", "msnpicture--"), ".png");
|
|
|
|
m_tempFile->setAutoDelete(true);
|
|
|
|
m_tempFile->setAutoDelete(true);
|
|
|
|
m_file = m_tempFile->file();
|
|
|
|
m_file = m_tempFile->file();
|
|
|
|