[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/4.3/kdelibs/nepomuk/core
From:       Sebastian Trueg <sebastian () trueg ! de>
Date:       2009-07-21 9:31:55
Message-ID: 1248168715.513727.22938.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1000407 by trueg:

backport: return the resource uri in toUrl

 M  +4 -1      variant.cpp  


--- branches/KDE/4.3/kdelibs/nepomuk/core/variant.cpp #1000406:1000407
@@ -844,7 +844,10 @@
 
 QUrl Nepomuk::Variant::toUrl() const
 {
-    return d->value.toUrl();
+    if( isResource() )
+        return toResource().resourceUri();
+    else
+        return d->value.toUrl();
 }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic