From 05ad4a7b1409549016843e3c84704bf510d59d32 Mon Sep 17 00:00:00 2001 From: David Faure Date: Tue, 16 Jan 2007 12:57:16 +0000 Subject: [PATCH] mimetype() moved up to TransferJob now, so that this nasty downcast can be fixed svn path=/trunk/KDE/kdepim/; revision=624125 --- kmcomposewin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kmcomposewin.cpp b/kmcomposewin.cpp index 75093403a..d10d6b2a0 100644 --- a/kmcomposewin.cpp +++ b/kmcomposewin.cpp @@ -2590,7 +2590,7 @@ void KMComposeWin::slotAttachFileResult(KJob *job) KCursorSaver busy(KBusyPtr::busy()); QString name( (*it).url.fileName() ); // ask the job for the mime type of the file - QString mimeType = static_cast(job)->mimetype(); + QString mimeType = static_cast(job)->mimetype(); if ( name.isEmpty() ) { // URL ends with '/' (e.g. http://www.kde.org/)