unused: IProject::urlRelativeToProject

Milian Wolff mail at milianw.de
Fri Apr 24 17:19:16 UTC 2009


The method urlRelativeToProject (from IProject) is never being called in 
kdevelop / kdevplatform.

Should it be removed or does someone think it's required?

I'd have to make it supports remote URLs which I'm not sure it's currently 
doing properly. But still the following should be OK to commit, right?

-    if ( KUrl::isRelativeUrl( relativeUrl.toLocalFile() ) )
+    if ( relativeUrl.isRelative() ) {

-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090424/236974c7/attachment.sig>


More information about the KDevelop-devel mailing list