From: Peter Hedlund Date: Tue, 18 Sep 2007 22:27:45 +0000 (+0000) Subject: Forward port of fix for remote files. X-Git-Tag: v3.94.0~37 X-Git-Url: https://git.rmz.fi/?a=commitdiff_plain;h=4d256be9a56152e84c1ad0d5d4843df9b0a3e741;p=libqmvoc.git Forward port of fix for remote files. svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=714211 --- diff --git a/keduvocdocument/keduvocdocument.cpp b/keduvocdocument/keduvocdocument.cpp index c610951..bd81f65 100644 --- a/keduvocdocument/keduvocdocument.cpp +++ b/keduvocdocument/keduvocdocument.cpp @@ -242,7 +242,7 @@ int KEduVocDocument::open( const KUrl& url ) return FileCannotRead; } - FileType ft = detectFileType( url.path() ); + FileType ft = detectFileType( temporaryFile ); switch ( ft ) { case Kvtml: {