Commit ab53fcd1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

KURL->KUrl

svn path=/trunk/KDE/kdepim/libkcal/; revision=508599
parent 4919815a
......@@ -124,7 +124,7 @@ QString Signature::textFromFile( bool * ok ) const
assert( mType == FromFile );
// ### FIXME: Use KIO::NetAccess to download non-local files!
if ( !KURL(mUrl).isLocalFile() && !(QFileInfo(mUrl).isRelative()
if ( !KUrl(mUrl).isLocalFile() && !(QFileInfo(mUrl).isRelative()
&& QFileInfo(mUrl).exists()) ) {
kDebug( 5006 ) << "Signature::textFromFile: non-local URLs are unsupported" << endl;
if ( ok ) *ok = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment