Revision 7414a3c...

Go back to digest for 17th July 2011

Features in KDE Base

Vishesh Handa committed changes in [kde-runtime] /services:

Improve storeResources file resolution

This patch does three things -
1. Use QUrl::toLocalFile, when testing if the url exists using QFileInfo
2. Before resolving all the url present in the objects. Convert them
from the QVariant into Soprano::Node using the ClassAndPropertyTree,
this way based on the type, the variant is converted to the correct
node. Resolution is a lot simpler ( and correct ) this way.
3. Fix SyncResource blank node handling - When blank nodes are stored
as QUrls they should be stored as "_:identifier" not "identifier"

This fixes testStoreResources_folder ( and strigi indexing )

File Changes

Modified 2 files
  • /services
  •   nepomuk/storage/datamanagementmodel.cpp
  •   nepomuk/backupsync/lib/syncresource.cpp
2 files changed in total